Linux Kernel up to 2.4.24/2.6.2 do_mremap memory corruption

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

A vulnerability was found in Linux Kernel up to 2.4.24/2.6.2 (Operating System). It has been classified as critical. This affects the function do_mremap. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.

The weakness was shared 02/18/2004 by Paul Starzetz with isec.pl (Website). It is possible to read the advisory at isec.pl. This vulnerability is uniquely identified as CVE-2004-0077. The attack can only be done within the local network. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

The exploit is shared for download at securiteam.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 15290 (Debian DSA-453-1 : linux-kernel-2.2.20-i386+m68k+powerpc - failing function and TLB flush), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at kernel.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (15244), Tenable (15290) and Exploit-DB (154). Further details are available at vuldb.com.

Productinfo

Type

Vendor

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: 5.0
VulDB Meta Temp Score: 4.5

VulDB Base Score: 5.0
VulDB Temp Score: 4.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Partially

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 15290
Nessus Name: Debian DSA-453-1 : linux-kernel-2.2.20-i386+m68k+powerpc - failing function and TLB flush
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53138
OpenVAS Name: Debian Security Advisory DSA 438-1 (kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: kernel.org

Timelineinfo

02/18/2004 🔍
02/18/2004 +0 days 🔍
02/18/2004 +0 days 🔍
02/18/2004 +0 days 🔍
02/18/2004 +0 days 🔍
02/19/2004 +0 days 🔍
03/03/2004 +13 days 🔍
03/03/2004 +0 days 🔍
09/29/2004 +210 days 🔍
07/25/2005 +299 days 🔍
03/09/2021 +5706 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: isec.pl
Researcher: Paul Starzetz
Organization: isec.pl
Status: Not defined

CVE: CVE-2004-0077 (🔍)
OVAL: 🔍

X-Force: 15244 - Linux kernel do_mremap allows elevated privileges, High Risk
Vulnerability Center: 8646 - Privilege Elevation in Linux Kernel 2.2 - 2.2.25, 2.4 - 2.4.24, 2.6 - 2.6.2 via Mremap System Call, Medium
SecuriTeam: securiteam.com
SecurityFocus: 9686 - Linux Kernel do_mremap Function VMA Limit Local Privilege Escalation Vulnerability
Secunia: 10897 - Linux Kernel "mremap()" Missing Return Value Checking Privilege Escalation, Less Critical
OSVDB: 3986 - Linux Kernel mremap() Missing Return Value Checking Privilege Escalation

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

Entryinfo

Created: 02/19/2004 14:37
Updated: 03/09/2021 11:41
Changes: 02/19/2004 14:37 (95), 10/08/2018 15:43 (3), 03/09/2021 11:41 (2)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!