CVE-2012-10049 WebPageTest Arbitrary PHP File Upload RCE
Remote attackers can upload and execute arbitrary PHP code in WebPageTest, leading to full remote code execution on the web server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-10049?
CVE-2012-10049 is a critical vulnerability in WPO Foundation WebPageTest, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WebPageTest version 2.6 and earlier contains an arbitrary file upload vulnerability in the resultimage.php script. The application fails to validate or sanitize user-supplied input before saving uploaded files to a publicly accessible directory. This flaw allows remote attackers to upload and execute arbitrary PHP code, resulting in full remote code execution under the web server context.
Weakness: CWE-434
Which versions are affected by CVE-2012-10049?
How do I fix CVE-2012-10049?
No fix has been published for CVE-2012-10049 yet. Limit exposure of the affected software until one is available.
Is CVE-2012-10049 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10049 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-q67w-8wvh-9fwh.