{"id":"CVE-2012-10049","published":"2025-08-08T18:13:47Z","modified":"2026-05-15T11:13:57Z","title":"WebPageTest Arbitrary PHP File Upload RCE","vendor":"WPO Foundation","product":"WebPageTest","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01907,"percentile":0.79909,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/webpagetest_upload_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/19790","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/20173","tags":["exploit"]},{"url":"https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=26148","tags":["third-party-advisory"]},{"url":"https://github.com/catchpoint/WebPageTest","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/webpagetest-arbitrary-php-file-upload-rce","tags":["third-party-advisory"]}],"priority":{"score":27.5,"factors":[{"name":"EPSS percentile","points":15.98},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"metasploit":[{"name":"WebPageTest Arbitrary PHP File Upload","module":"exploit/multi/http/webpagetest_upload_exec","type":"exploit","disclosureDate":"2012-07-13","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/webpagetest_upload_exec.rb"}],"first":{"date":"2012-07-13","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/webpagetest_upload_exec.rb"},"provenance":"source"},"vendorSlug":"wpo-foundation","affectedVersions":[{"vendor":"WPO Foundation","product":"WebPageTest","versions":["<= 2.6"]}],"euvd":{"id":"EUVD-2012-6593","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/webpagetest_upload_exec.rb","https://www.exploit-db.com/exploits/19790","https://www.exploit-db.com/exploits/20173"]}