MySQL up to 5.0.39 item_cmpfunc.cc in_decimal::set numeric error

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.
3.9$0-$5k0.00

A vulnerability was found in MySQL up to 5.0.39 (Database Software). It has been declared as problematic. This vulnerability affects the function in_decimal::set of the file item_cmpfunc.cc. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect availability. CVE summarizes:

The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18-beta, allows context-dependent attackers to cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.

The bug was discovered 03/29/2007. The weakness was published 03/29/2007 (Website). The advisory is shared for download at debian.org. This vulnerability was named CVE-2007-2583 since 05/09/2007. The exploitation appears to be easy. The attack can be initiated remotely. Required for exploitation is a single authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 17832 (MySQL 5.0 < 5.0.40 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Databases and running in the context r.

Upgrading to version 5.0.40 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (34232), Tenable (17832) and Exploit-DB (30020).

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: 4.3
VulDB Meta Temp Score: 3.9

VulDB Base Score: 4.3
VulDB Temp Score: 3.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 17832
Nessus Name: MySQL 5.0 < 5.0.40 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: MySQL 5.0.40

Timelineinfo

03/09/2007 🔍
03/29/2007 +20 days 🔍
03/29/2007 +0 days 🔍
05/09/2007 +40 days 🔍
05/09/2007 +0 days 🔍
05/09/2007 +0 days 🔍
05/10/2007 +1 days 🔍
05/10/2007 +0 days 🔍
05/13/2007 +2 days 🔍
01/18/2012 +1711 days 🔍
03/13/2015 +1150 days 🔍
07/18/2019 +1588 days 🔍

Sourcesinfo

Advisory: debian.org
Status: Not defined
Confirmation: 🔍

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

X-Force: 34232
Vulnerability Center: 15063 - MySQL 5-5.0.39 Remote Denial of Service via a Crafted IF Clause in Select Query, Medium
SecurityFocus: 23911 - MySQL IF Query Handling Remote Denial Of Service Vulnerability
Secunia: 25188
OSVDB: 34734 - MySQL Crafted IF Clause Divide-by-zero NULL Dereference DoS
Vupen: ADV-2007-1731

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/13/2015 14:56
Updated: 07/18/2019 21:20
Changes: 03/13/2015 14:56 (79), 07/18/2019 21:20 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!