Restrict session to IP 

Critical Vuln in Smile challenge

Global Rank: 226
Totalscore: 84703
Posts: 1295
Thanks: 1132
UpVotes: 625
Registered: 10y 99d

Last Seen: 3d 7h
The User is Offline
Critical Vuln in Smile challenge
Google/translate1Thank You!1Good Post!1Bad Post! link
Tonight kepten reported a critical vuln in the smile challenge.
It was possible to upload images containing php code, and name the file foo.php.gif, and the php code got executed.

I could not find out how to stop apache interpreting the files with php, so i fixed it by disallowing ".php" in the filenames.

Big thanks to kepten for reporting this critical flaw.

If anyone knows how to stop apache running the php interpreter for foo.php.gif files, i would appreciate sharing the knowledge Smile

Happy Challenging!

EDIT: The problem was caused by a custom .htaccess and is fixed in svn now. First i tried to fix by Options -MultiViews, but this didn't work. Thanks to epoch for locating the problem!

EDIT2: It seems that is also nice to trick the apache
The geeks shall inherit the properties and methods of object earth.
Last edited by Gizmore - Aug 04, 2012 - 22:13:41
tunelko, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 1984 times.