7.5
HIGH
CVE-2016-10031
WampServer CSRF current user to SYSTEM escalation
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.

INFO

Published Date :

Dec. 27, 2016, 7:59 a.m.

Last Modified :

Aug. 6, 2024, 3:15 a.m.

Remotely Exploitable :

No

Impact Score :

6.0

Exploitability Score :

0.8
Affected Products

The following products are affected by CVE-2016-10031 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wampserver wampserver
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-10031.

URL Resource
http://forum.wampserver.com/read.php?2%2C144473
https://packetstormsecurity.com/files/140279/Wampserver-3.0.6-Privilege-Escalation.html
https://sourceforge.net/p/wampserver/bugs/52/ Issue Tracking
https://www.exploit-db.com/exploits/40967/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-10031 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-10031 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 06, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** DISPUTED ** 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." 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.
    Added Reference MITRE http://forum.wampserver.com/read.php?2%2C144473 [No types assigned]
    Removed Reference MITRE http://forum.wampserver.com/read.php?2,144473
  • CVE Modified by [email protected]

    Dec. 31, 2016

    Action Type Old Value New Value
    Removed Reference https://packetstormsecurity.com/files/138948/wampserver306-insecure.txt [Exploit, Third Party Advisory]
    Added Reference https://www.exploit-db.com/exploits/40967/ [No Types Assigned]
    Added Reference https://packetstormsecurity.com/files/140279/Wampserver-3.0.6-Privilege-Escalation.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 28, 2016

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type https://packetstormsecurity.com/files/138948/wampserver306-insecure.txt No Types Assigned https://packetstormsecurity.com/files/138948/wampserver306-insecure.txt Third Party Advisory, Exploit
    Changed Reference Type https://sourceforge.net/p/wampserver/bugs/52/ No Types Assigned https://sourceforge.net/p/wampserver/bugs/52/ Issue Tracking
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:wampserver:wampserver:3.0.6:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-10031 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-10031 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.23769

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability