Directory traversal vulnerability in the dp_img_resize function in php/dp-functions.php in the DukaPress plugin before 2.5.4 for WordPress allows remote attackers to read arbitrary files via a .. (dot dot) in the src parameter to lib/dp_image.php.
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 |
---|---|
https://wordpress.org/plugins/dukapress/changelog/ | vendor advisory |
http://security.szurek.pl/dukapress-252-path-traversal.html | exploit |
https://plugins.trac.wordpress.org/changeset/1024640/dukapress | vendor advisory |
http://www.exploit-db.com/exploits/35346 | exploit |
https://exchange.xforce.ibmcloud.com/vulnerabilities/98943 | vdb entry |