CVE-2016-10031

HIGH

WampServer 3.0.6 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-10031. PoCs published by Heliand Dema.

AI-analyzed exploit summary This is a writeup detailing a local privilege escalation vulnerability in WampServer 3.0.6 due to weak file permissions on service executables. Authenticated but non-privileged users can replace the executables to achieve SYSTEM-level code execution.

Description

WampServer 3.0.6 installs two services called 'wampapache' and 'wampmysqld' with weak file permissions, running with SYSTEM privileges. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. To properly exploit this vulnerability, the local attacker must insert an executable file called mysqld.exe or httpd.exe and replace the original files. The next time the service starts, the malicious file will get executed as SYSTEM. NOTE: the vendor disputes the relevance of this report, taking the position that a configuration in which "'someone' (an attacker) is able to replace files on a PC" is not "the fault of WampServer.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Heliand Dema · textlocalwindows
https://www.exploit-db.com/exploits/40967

This is a writeup detailing a local privilege escalation vulnerability in WampServer 3.0.6 due to weak file permissions on service executables. Authenticated but non-privileged users can replace the executables to achieve SYSTEM-level code execution.

Classification
Writeup 100%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: WampServer 3.0.6 32-bit x86
Auth required
Prerequisites: Local access to the system · Authenticated user privileges
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/40967/
Issue Tracking x_refsource_misc
https://sourceforge.net/p/wampserver/bugs/52/
Various Sources x_refsource_misc
http://forum.wampserver.com/read.php?2%2C144473

Scores

CVSS v3 7.5
EPSS 0.0115
EPSS Percentile 62.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Details

CWE
CWE-264
Status published
Products (1)
wampserver/wampserver 3.0.6
Published Dec 27, 2016
Tracked Since Feb 18, 2026