Directory traversal vulnerability in contrib/phpBB2/modules.php in Gallery 1.5.7 and 1.6-alpha3, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the phpEx parameter within a modload action.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://security.gentoo.org/glsa/glsa-200811-02.xml | vendor advisory |
http://gallery.menalto.com/gallery_1.5.8_released | |
http://secunia.com/advisories/32662 | third party advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/44373 | vdb entry |
http://securityreason.com/securityalert/4142 | third party advisory |
http://www.securityfocus.com/archive/1/495284/100/0/threaded | mailing list |
https://www.exploit-db.com/exploits/6222 | exploit |