{"id":"CVE-2012-10049","state":"PUBLISHED","title":"WebPageTest Arbitrary PHP File Upload RCE","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.","publishedAt":"2025-08-08T18:13:47.402Z","updatedAt":"2026-05-15T11:13:57.782Z","severity":{"score":9.3,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["WPO Foundation WebPageTest"],"affected":[{"vendor":"WPO Foundation","product":"WebPageTest","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.6","versionType":"custom"}],"modules":["/work/resultimage.php"]}],"references":["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","https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=26148","https://github.com/catchpoint/WebPageTest","https://www.vulncheck.com/advisories/webpagetest-arbitrary-php-file-upload-rce"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T19:40:13.167Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/10xxx/CVE-2012-10049.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2012-10049","state":"PUBLISHED","datePublished":"2025-08-08T18:13:47.402Z","dateUpdated":"2026-05-15T11:13:57.782Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-08-08T16:06:25.404Z"},"containers":{"cna":{"title":"WebPageTest Arbitrary PHP File Upload RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"WPO Foundation","product":"WebPageTest","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.6","versionType":"custom"}],"modules":["/work/resultimage.php"]}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-05-15T11:13:57.782Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:webpagetest:webpagetest:*:*:*:*:*:*:*:*","versionStartIncluding":"0","versionEndIncluding":"2.6"}]}]}],"credits":[{"lang":"en","type":"finder","value":"dun"}],"impacts":[{"capecId":"CAPEC-242","descriptions":[{"lang":"en","value":"CAPEC-242 Code Injection"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"},"datePublic":"2012-07-13T00:00:00.000Z"},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.exploit-db.com/exploits/20173","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/19790","tags":["exploit"]},{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/webpagetest_upload_exec.rb","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-08T18:44:45.941355Z","id":"CVE-2012-10049","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-08T18:44:49.016Z"}}]}}}