NASLDB: GLSA-200401-01 : Linux kernel do_mremap() local privilege escalation vulnerability
General
ID: 14441
Name: GLSA-200401-01 : Linux kernel do_mremap() local privilege escalation vulnerability
Summary: Checks for updated package(s) in /var/db/pkg
Credits: –
Classification
Risk: –
CVSS: –
CVSS Base Vector: –
CVSS Temporal Vector: –
Port: 0
Family: Gentoo Local Security Checks
Type: Local
Description
The remote host is affected by the vulnerability described in GLSA-200401-01
(Linux kernel do_mremap() local privilege escalation vulnerability)
The memory subsystem allows for shrinking, growing, and moving of
chunks of memory along any of the allocated memory areas which the kernel
posesses.
A typical virtual memory area covers at least one memory page. An incorrect
bound check discovered inside the do_mremap() kernel code performing
remapping of a virtual memory area may lead to creation of a virtual memory
area of 0 bytes length.
The problem is based on the general mremap flaw that remapping 2 pages from
inside a VMA creates a memory hole of only one page in length but an
additional VMA of two pages. In the case of a zero sized remapping request
no VMA hole is created but an additional VMA descriptor of 0
bytes in length is created.
This advisory also addresses an information leak in the Linux RTC system.
Impact :
Arbitrary code may be able to exploit this vulnerability and may
disrupt the operation of other
parts of the kernel memory management subroutines finally leading to
unexpected behavior.
Since no special privileges are required to use the mremap(2) system call
any process may misuse its unexpected behavior to disrupt the kernel memory
management subsystem. Proper exploitation of this vulnerability may lead to
local privilege escalation including execution of arbitrary code
with kernel level access.
Proof-of-concept exploit code has been created and successfully tested,
permitting root escalation on vulnerable systems. As a result, all users
should upgrade their kernels to new or patched versions.
Workaround :
There is no temporary workaround – a kernel upgrade is required. A list
of unaffected kernels is provided along with this announcement.
Exploiting
Exploit Available: –
Exploitability Ease: –
Sources
CVE: –
OSVDB: –
Bugtraq: –
scipID: –
Timeline
Vulnerability Disclosure: –
Patch Release: 2004/01/08
Plugin Release: 2004/08/30
Plugin
Version: 1.8
Filename: gentoo_GLSA-200401-01.nasl
Filesize: 9689 bytes
MD5 Hash: c328b53ec23794d2034b07816557d719
Identification: Host/local_checks_enabled
Require Keys: Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list
Dependencies: "ssh_get_info.nasl"
Copyright: This script is Copyright© 2004-2011 Tenable Network Security, Inc.
- Latest Plugins
- USN-1611-1 : thunderbird vulnerabilities
- USN-1610-1 : linux vulnerability
- USN-1609-1 : linux-ti-omap4 vulnerability
- SuSE 10 Security Update : PostgreSQL
- RHSA-2012-1364: bind97
- RHSA-2012-1363: bind
- RHSA-2012-1362: thunderbird
- RHSA-2012-1361: xulrunner
- Mandriva Linux Security Advisory : graphicsmagick
- FreeBSD : phpMyAdmin — Multiple XSS due to unescaped HTML output in Trigger, Procedure and Event pages and Fetching the version information from a non-SSL site is vulnerable to a MITM attack













