Bash bug: apply the unofficial patch now (CVE-2014-6277)
The Bash shell contained parsing flaws (CVE-2014-6277 and CVE-2014-6278) that allowed attacker-controlled function definitions to have side effects on subsequently executed trusted code. An attacker could exploit this to execute arbitrary commands.
lcamtuf.blogspot.com
Published on lcamtuf.blogspot.com
The original lives on lcamtuf.blogspot.com
We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Bash parser was not designed to safely handle attacker-supplied input, leading to memory corruption and unintended side effects.
What the attacker needed
Bash version affected by CVE-2014-6277/6278
The fix
Apply the unofficial patch provided by Florian.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Bash is a common command-line program. A bug in how it read certain inputs let an attacker sneak in commands that would run later. This could let them take control of a system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.