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

Summaryinfo

A vulnerability, which was classified as critical, has been found in Linux Kernel up to 2.4.24/2.6.2. This affects the function do_mremap. Performing a manipulation results in memory corruption. This vulnerability is cataloged as CVE-2004-0077. The attack must originate from the local network. Furthermore, there is an exploit available. It is advisable to upgrade the affected component.

Detailsinfo

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), Exploit-DB (154), Tenable (15290), SecurityFocus (BID 9686†) and OSVDB (3986†). Further details are available at vuldb.com. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

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

Physical: Partially
Local: Yes
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 🔍
12/26/2024 +7094 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: isec.pl
Researcher: Paul Starzetz
Organization: isec.pl
Status: Confirmed

CVE: CVE-2004-0077 (🔍)
GCVE (CVE): GCVE-0-2004-0077
GCVE (VulDB): GCVE-100-519

OVAL: 🔍

CERT: 🔍
X-Force: 15244 - Linux kernel do_mremap allows elevated privileges, High Risk
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
SecuriTeam: securiteam.com
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

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

Entryinfo

Created: 02/19/2004 14:37
Updated: 12/26/2024 20:26
Changes: 02/19/2004 14:37 (95), 10/08/2018 15:43 (3), 03/09/2021 11:41 (2), 12/08/2024 22:45 (16), 12/26/2024 20:26 (1)
Complete: 🔍
Cache ID: 216:F16:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!