CVE-2012-10062 XAMPP WebDAV PHP Upload Authentication Bypass RCE

High 8.7 Published Updated

Remote attackers can upload and execute arbitrary PHP code via WebDAV using default credentials, leading to full server compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-10062?

CVE-2012-10062 is a high-severity vulnerability in Apache Friends XAMPP, published on 30 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability in XAMPP, developed by Apache Friends, version 1.7.3's default WebDAV configuration allows remote authenticated attackers to upload and execute arbitrary PHP code. The WebDAV service, accessible via /webdav/, accepts HTTP PUT requests using default credentials. This permits attackers to upload a malicious PHP payload and trigger its execution via a subsequent GET request, resulting in remote code execution on the server.

Weakness: CWE-434, CWE-306

Which versions are affected by CVE-2012-10062?

How do I fix CVE-2012-10062?

No fix has been published for CVE-2012-10062 yet. Limit exposure of the affected software until one is available.

Is CVE-2012-10062 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10062 exists.

Public exploit code: 1 Metasploit module.

Sources

Is CVE-2012-10062 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free