Unauthenticated code execution via unchecked remote file write
Published Jul 19, 2025 · Updated Apr 8, 2026
Unrestricted file upload in WP Mobile Detector 3.5 and earlier allows remote attackers to execute PHP code via the src parameter. The unauthenticated resize.php endpoint passes the src URL to file_get_contents() and writes the response under its attacker-controlled basename into the web-accessible cache directory without validating its type. Code execution requires remote URL fetching through allow_url_fopen and PHP execution in that cache directory; otherwise the flaw still permits arbitrary hosted content.
Summary
What happened
Unrestricted file upload in WP Mobile Detector 3.5 and earlier allows remote attackers to execute PHP code via the src parameter. The unauthenticated resize.php endpoint passes the src URL to file_get_contents() and writes the response under its attacker-controlled basename into the web-accessible cache directory without validating its type. Code execution requires remote URL fetching through allow_url_fopen and PHP execution in that cache directory; otherwise the flaw still permits arbitrary hosted content.
The record
- CVE
- CVE-2016-15043
- Published
- Jul 19, 2025
- Updated
- Apr 8, 2026
- Vendor
- Websitez.com, LLC
- Product
- WP Mobile Detector
- Classifications
- CWE-434, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 27, 2016Exploitation reportedSucuri-observed WP Mobile Detector exploitation
- Jul 19, 2025CVE publishedPublication date reported by the CVE source.
- Apr 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=3.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WP Mobile Detector Vulnerability <= 3.5 Exploit POCproof of concept · demonstrated
- WordPress WP Mobile Detector 3.5 Shell Uploadfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Sucuri-observed WP Mobile Detector exploitationreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo