Directory traversal vulnerability in the user_get_profile function in include/functions.inc.php in Coppermine Photo Gallery (CPG) 1.4.18 and earlier, when the charset is utf-8, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the lang part of serialized data in an _data cookie.
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://secunia.com/advisories/31295 | third party advisory vendor advisory |
http://securityreason.com/securityalert/4108 | third party advisory |
http://www.securityfocus.com/bid/30480 | vdb entry |
https://exchange.xforce.ibmcloud.com/vulnerabilities/44133 | vdb entry |
https://www.exploit-db.com/exploits/6178 | exploit |