<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cve-2014-6271 on Rowanto Luo</title><link>https://log.rowanto.com/categories/cve-2014-6271/</link><description>Recent content in Cve-2014-6271 on Rowanto Luo</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 25 Sep 2014 09:00:00 +0000</lastBuildDate><atom:link href="https://log.rowanto.com/categories/cve-2014-6271/index.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2014-6271: what is it and how to check if you're vulnerable and fix it</title><link>https://log.rowanto.com/posts/cve-2014-6271-what-is-it-and-how-to-check-if-youre-vulnerable-and-fix-it/</link><pubDate>Thu, 25 Sep 2014 09:00:00 +0000</pubDate><guid>https://log.rowanto.com/posts/cve-2014-6271-what-is-it-and-how-to-check-if-youre-vulnerable-and-fix-it/</guid><description>
&lt;p&gt;What is actually CVE-2014-6271?&lt;/p&gt;
&lt;p&gt;Actually redhat did a very good job describing it: &lt;a href="https://access.redhat.com/articles/1200223"&gt;https://access.redhat.com/articles/1200223&lt;/a&gt;
From what I&amp;rsquo;ve understood, it&amp;rsquo;s basically a bug that allows you in bash to do some other command after the function declaration in a variable.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s change the example a little bit, so that it&amp;rsquo;s more easier to read:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; env your_function='() { echo &amp;quot;your function do something&amp;quot;;}; echo &amp;quot;but I can still add other command after your function&amp;quot;' bash -c &amp;quot;echo this is a test&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you system is affected with the bug, if you run that command, you will see the text &amp;ldquo;but I can still add other command after your function&amp;rdquo;.&lt;/p&gt;</description></item></channel></rss>