Summary
CVE-2015-20125 is a path traversal (arbitrary file download) vulnerability in the Aspose PDF Exporter plugin for WordPress, affecting versions 1.0 up to (but not including) 2.0. An unauthenticated remote attacker can read arbitrary files from the web server, including wp-config.php. The CVE record assigns a CVSS v4.0 score of 8.7 (High). Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.
Technical details
- Root cause: The
fileparameter is passed unsanitized to PHP’sreadfile(). - Trigger conditions: The plugin is installed and active, and the vulnerable script
aspose_pdf_exporter_download.phpis reachable. No authentication is required. - Attack vector: A remote attacker sends a GET request to
aspose_pdf_exporter_download.phpwith traversal sequences in thefileparameter, for example../../../wp-config.php. - Impact: Disclosure of sensitive files, such as
wp-config.php, which holds the WordPress database credentials. The CVE record describes no integrity or availability impact.
Affected software
- Aspose PDF Exporter plugin for WordPress, versions 1.0 to before 2.0
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade Aspose PDF Exporter to version 2.0 or later.
- If you cannot update: Deactivate and remove the plugin. Block external access to
aspose_pdf_exporter_download.php, for example with web server or WAF rules. - If a vulnerable version was exposed: Treat the database credentials in
wp-config.phpas potentially compromised. Rotate them and review access logs for requests to the vulnerable script.

