Exploit database

Vulnerability

CVE-2012-10062

XAMPP WebDAV PHP Upload Authentication Bypass RCE

Vulnerability details

Score
8.7
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

CVE Program

Exploit source choices

2 sources
WebDAV PHP Upload
MSF-multi--http--webdav_upload_phpMetasploitPHP / remote

This module exploits WebDAV which also has PHP enabled, such as found on XAMPP servers. It can use do by using any supplied credentials to upload via WebDAV, a PHP payload and then execute it.

2012-01-14webdav_upload_php.rb