------ Forwarded Message
From:
Date: 31 Aug 2005 19:18:04 -0000
To:
Subject: CMS Made Simple
--------------------------------------------------------
Exploit:
example.html:
EOF
--------------------------------------------------------
Contact:
Author: Filip Groszynski (VXSfx)
Location: Poland
Email: groszynskif gmail com
-- == -- == -- == -- == -- == -- == -- == -- == -- == --
------ End of Forwarded Message
--
[phpsec] Mailing List
Brought to you by php|architect - http://www.phparch.com
For account maintenance, please visit http://www.phparch.com/phpsec
Reading the example exploit, I'm pretty sure that it can only occur with register_globals set to on. However, still needs fixing.
Possible fix:
Ensure that $onefile is a local file within the expected cmsms directory before including it. (Probably have to store the "expected cms directory" as a define/const maybe?)
Rob...