DBD-mysql up to 3.x/4.040 on Perl mysql_server_prepare=1 use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in DBD-mysql up to 3.x/4.040 on Perl. This vulnerability affects unknown code. Such manipulation of the argument mysql_server_prepare=1 with the input 1 leads to use after free.
This vulnerability is documented as CVE-2016-1251. The attack can be executed remotely. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability was found in DBD-mysql up to 3.x/4.040 on Perl (Database Software) and classified as critical. Affected by this issue is an unknown part. The manipulation of the argument mysql_server_prepare=1 with the input value 1 leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. CVE summarizes:
There is a vulnerability of type use-after-free affecting DBD::mysql (aka DBD-mysql or the Database Interface (DBI) MySQL driver for Perl) 3.x and 4.x before 4.041 when used with mysql_server_prepare=1.
The bug was discovered 11/29/2016. The weakness was released 11/29/2016 by Pali Rohár (Website). The advisory is available at openwall.com. This vulnerability is handled as CVE-2016-1251 since 12/27/2015. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 10/04/2022).
The vulnerability scanner Nessus provides a plugin with the ID 900036 , which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276342 (Fedora Security Update for perl-DBD-MySQL (FEDORA-2016-bf6c3ea62c)).
Upgrading to version 4.041 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (900036) and SecurityFocus (BID 94573†). Entry connected to this vulnerability is available at VDB-97041. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.1VulDB Meta Temp Score: 7.9
VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 900036
Nessus File: 🔍
OpenVAS ID: 53673
OpenVAS Name: Fedora Update for perl-DBD-MySQL FEDORA-2016-302f840ecf
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: DBD-mysql 4.041
Patch: anonscm.debian.org
Timeline
12/27/2015 🔍11/28/2016 🔍
11/29/2016 🔍
11/29/2016 🔍
11/29/2016 🔍
11/30/2016 🔍
10/04/2022 🔍
Sources
Advisory: 3619c170461a3107a258d1fd2d00ed4832adb1b1Researcher: Pali Rohár
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-1251 (🔍)
GCVE (CVE): GCVE-0-2016-1251
GCVE (VulDB): GCVE-100-93866
SecurityFocus: 94573 - DBD::mysql CVE-2016-1251 Use After Free Remote Code Execution Vulnerability
See also: 🔍
Entry
Created: 11/30/2016 10:33Updated: 10/04/2022 16:06
Changes: 11/30/2016 10:33 (62), 06/12/2019 16:48 (14), 10/04/2022 16:06 (4)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.