mcrypt 2.6.4/2.6.5/2.6.6/2.6.7/2.6.8 extra.c check_file_head memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.9 | $0-$5k | 0.00 |
A vulnerability has been found in mcrypt 2.6.4/2.6.5/2.6.6/2.6.7/2.6.8 and classified as critical. Affected by this vulnerability is the function check_file_head
of the file extra.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to execute arbitrary code via an encrypted file with a crafted header containing long salt data that is not properly handled during decryption.
The weakness was presented 11/21/2012 as Bug 855029 as confirmed bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. This vulnerability is known as CVE-2012-4409 since 08/21/2012. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.
A public exploit has been developed by Tosh in Python and been published 5 days after the advisory. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 74781 (openSUSE Security Update : mcrypt (openSUSE-SU-2012:1354-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Tenable (74781) and Exploit-DB (22928). See 63015 and 63014 for similar entries.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Memory corruptionCWE: CWE-119
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Tosh
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 74781
Nessus Name: openSUSE Security Update : mcrypt (openSUSE-SU-2012:1354-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 864716
OpenVAS Name: Fedora Update for mcrypt FEDORA-2012-13656
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
08/21/2012 🔍09/06/2012 🔍
09/14/2012 🔍
10/11/2012 🔍
11/21/2012 🔍
11/21/2012 🔍
11/26/2012 🔍
11/26/2012 🔍
06/13/2014 🔍
03/24/2015 🔍
12/20/2021 🔍
Sources
Advisory: Bug 855029Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-4409 (🔍)
SecurityTracker: 1027532 - MCrypt Stack Overflow Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 36490 - Mcrypt \x3C\x3D2.6.8 Stack Based Buffer Overflow via a Crafted .nc File Allows Arbitrary Code Execution, Medium
SecurityFocus: 55425
Secunia: 50507
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/24/2015 12:22Updated: 12/20/2021 09:52
Changes: 03/24/2015 12:22 (62), 04/18/2017 11:10 (19), 12/20/2021 09:52 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.