Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.
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://coppermine-gallery.net/forum/index.php?topic=46847.0 | patch |
http://securityreason.com/securityalert/3152 | third party advisory |
http://www.securityfocus.com/archive/1/479757/100/0/threaded | mailing list |
http://www.securitytracker.com/id?1018704 | vdb entry |
http://secunia.com/advisories/26843 | patch vendor advisory third party advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/36660 | vdb entry |
http://www.vupen.com/english/advisories/2007/3194 | vdb entry |
http://www.securityfocus.com/bid/25698 | patch vdb entry |
http://osvdb.org/37101 | vdb entry |