mysql up to 5.1.17 thd::db_access Stored denial of service

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.00

A vulnerability, which was classified as problematic, was found in mysql up to 5.1.17 (Database Software). This affects the function thd::db_access. The manipulation with an unknown input leads to a denial of service vulnerability (Stored). CWE is classifying the issue as CWE-404. The product does not release or incorrectly releases a resource before it is made available for re-use. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.

The bug was discovered 05/08/2007. The weakness was presented 05/08/2007 (Website). The advisory is shared at vupen.com. This vulnerability is uniquely identified as CVE-2007-2692 since 05/15/2007. It is possible to initiate the attack remotely. The successful exploitation requires a authentication. Technical details are known, but no exploit is available.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 36399 (Mandriva Linux Security Advisory : mysql (MDVSA-2008:028)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19687 (MySQL Denial of Service Vulnerability and Multiple Security Issues).

Upgrading to version 5.0.x eliminates this vulnerability. A possible mitigation has been published 10 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (34348) and Tenable (36399). See 36814, 36812, 37818 and 37817 for similar entries.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: Stored
Class: Denial of service / Stored
CWE: CWE-404
ATT&CK: T1499

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 36399
Nessus Name: Mandriva Linux Security Advisory : mysql (MDVSA-2008:028)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 59638
OpenVAS Name: Debian Security Advisory DSA 1413-1 (mysql-dfsg, mysql-dfsg-5.0, mysql-dfsg-4.1)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: mysql 5.0.x

Timelineinfo

05/08/2007 🔍
05/08/2007 +0 days 🔍
05/08/2007 +0 days 🔍
05/15/2007 +6 days 🔍
05/15/2007 +0 days 🔍
05/16/2007 +1 days 🔍
05/16/2007 +0 days 🔍
05/17/2007 +1 days 🔍
05/17/2007 +0 days 🔍
05/20/2007 +2 days 🔍
01/29/2008 +254 days 🔍
04/23/2009 +450 days 🔍
03/13/2015 +2150 days 🔍
07/19/2019 +1589 days 🔍

Sourcesinfo

Advisory: vupen.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-2692 (🔍)
OVAL: 🔍

X-Force: 34348
SecurityTracker: 1018070
Vulnerability Center: 15178 - MySQL Privileges Escalation via the mysql_change_db Function, High
SecurityFocus: 24011 - MySQL Security Invoker Privilege Escalation Vulnerability
Secunia: 25301
OSVDB: 34765 - MySQL mysql_change_db Function THD::db_access Privilege Escalation
Vupen: ADV-2007-1804

See also: 🔍

Entryinfo

Created: 03/13/2015 14:56
Updated: 07/19/2019 14:58
Changes: 03/13/2015 14:56 (89), 07/19/2019 14:58 (2)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!