CVE-2012-10062 in Apache products
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 mali...
Affects 1 product from 4 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | — | — |
| Apache Friends | Xampp | ≤ 1.7.3 |
| Webdav | — | — |
| Xampp | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-10062 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-090469-I |
| Published | 2025-08-30 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
CWE-434: Unrestricted Upload of File with Dangerous Type
Application allows file uploads without validating type, enabling upload of executable code or web shells.
Related attack patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-166 Force the System to Reset Values via CWE-306
Show all 6
CAPEC-216 Communication Channel Manipulation via CWE-306
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in XAMPP version 1.7.3's default WebDAV configuration allows remote authenticated attackers to upload and execute arbitrary PHP code, leading to remote code execution on the server. This poses a significant risk to the integrity and availability of the affected systems, especially in ICS/OT environments where unauthorized access can lead to operational disruptions and safety issues.
The vulnerability is triggered when a remote authenticated attacker sends an HTTP PUT request to the /webdav/ endpoint, uploading a malicious PHP payload. The attacker can then execute the payload by sending a subsequent HTTP GET request, resulting in remote code execution on the server.
Compensating controls AI-drafted, review before use
Implement strict access controls and authentication mechanisms for the WebDAV service, and monitor for unusual activity. Consider disabling the WebDAV service if it is not required.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2012-10062?
A vulnerability in XAMPP version 1.7.3's default WebDAV configuration allows remote authenticated attackers to upload and execute arbitrary PHP code, leading to remote code execution on the server. This poses a significant risk to the integrity and availability of the affected systems, especially in ICS/OT environments where unauthorized access can lead to operational disruptions and safety issues.
Is CVE-2012-10062 actively exploited?
Public exploit available for CVE-2012-10062. Exploitation risk elevated.
How do I remediate CVE-2012-10062?
Priority: MEDIUM.
What systems are affected by CVE-2012-10062?
CVE-2012-10062 affects Apache; Apache Friends Xampp; Webdav; Xampp.
What NERC-CIP standard applies to CVE-2012-10062?
NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2 by allowing unauthorized access to the system, which can compromise the security of the electronic security perimeter and the systems within it.
What IEC 62443 requirement maps to CVE-2012-10062?
IEC 62443 SR 7.6: This vulnerability maps to SR 7.6, which requires the implementation of secure configuration and management of network services to prevent unauthorized access and code execution.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.