CVE-2014-5368
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
WordPress Plugin WP Content Source Control - 'download.php' Directory Traversal
source: https://www.securityfocus.com/bid/69278/info
WP Content Source Control plugin for WordPress is prone to a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting this issue can allow an attacker to obtain sensitive information that could aid in further attacks.
WP Content Source Control 3.0.0 is vulnerable; other versions may also be affected.
www.example.com/wp-content/plugins/wp-source-control/downloadfiles/download.php?path=../../../../wp-config.php
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| wp_content_source_control_project | wp_content_source_control | {"endIncluding":"3.0.0"} | |
References
- http://seclists.org/oss-sec/2014/q3/407
- http://seclists.org/oss-sec/2014/q3/417
- http://www.securityfocus.com/bid/69278
- https://exchange.xforce.ibmcloud.com/vulnerabilities/95374
- http://seclists.org/oss-sec/2014/q3/407
- http://seclists.org/oss-sec/2014/q3/417
- http://www.securityfocus.com/bid/69278
- https://exchange.xforce.ibmcloud.com/vulnerabilities/95374
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.