CVE-2013-6774
CVSS10.0
发布时间 :2014-03-31 10:58:57
修订时间 :2014-03-31 15:04:13
NMCOPS    

[原文]Untrusted search path vulnerability in the ChainsDD Superuser package 3.1.3 for Android 4.2.x and earlier, CyanogenMod/ClockWorkMod/Koush Superuser package 1.0.2.1 for Android 4.2.x and earlier, and Chainfire SuperSU package before 1.69 for Android 4.2.x and earlier allows attackers to load an arbitrary .jar file and gain privileges via a crafted BOOTCLASSPATH environment variable for a /system/xbin/su process. NOTE: another researcher was unable to reproduce this with ChainsDD Superuser.


[CNNVD]多个Android Superuser Packages Search Path 本地提权漏洞(CNNVD-201311-221)

        ChainsDD Superuser等都是用于安卓手机中的超级用户授权工具。该工具通过授予应用程序root权限,可掌握手机的控制权。
        多个Android Superuser工具包中存在本地提权漏洞。攻击者可利用该漏洞以root权限运行命令。以下版本受到影响:ChainsDD Superuser 3.1.3,CyanogenMod Superuser 1.0.2.1,ClockWorkMod Superuser 1.0.2.1,Koush Superuser 1.0.2.1,Chainfire SuperSU 1.69之前的版本。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:chainfire:supersu:1.69::~~~android~~
cpe:/a:androidsu:chainsdd_superuser:3.1.3::~~~android~~
cpe:/a:koushik_dutta:superuser:1.0.2.1

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6774
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-6774
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-201311-221
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/archive/1/529822
(UNKNOWN)  BUGTRAQ  20131114 Re: Superuser unsanitized environment vulnerability on Android <= 4.2.x
http://www.securityfocus.com/archive/1/529796
(UNKNOWN)  BUGTRAQ  20131113 Superuser unsanitized environment vulnerability on Android <= 4.2.x

- 漏洞信息

多个Android Superuser Packages Search Path 本地提权漏洞
权限许可和访问控制
2013-11-21 00:00:00 2013-11-21 00:00:00
本地  
        ChainsDD Superuser等都是用于安卓手机中的超级用户授权工具。该工具通过授予应用程序root权限,可掌握手机的控制权。
        多个Android Superuser工具包中存在本地提权漏洞。攻击者可利用该漏洞以root权限运行命令。以下版本受到影响:ChainsDD Superuser 3.1.3,CyanogenMod Superuser 1.0.2.1,ClockWorkMod Superuser 1.0.2.1,Koush Superuser 1.0.2.1,Chainfire SuperSU 1.69之前的版本。

- 公告与补丁

        目前厂商还没有提供此漏洞的相关补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        http://packetstormsecurity.com/files/124015/androidsuperuser-exec.txt

- 漏洞信息 (F124015)

Android 4.2.x Superuser Unsanitized Environment (PacketStormID:F124015)
2013-11-14 00:00:00
Kevin Cernekee  
exploit,arbitrary,root
CVE-2013-6768,CVE-2013-6774
[点击下载]

Vulnerable releases of several common Android Superuser packages may allow malicious Android applications to execute arbitrary commands as root without notifying the device owner. This advisoriy documents PATH and BOOTCLASSPATH vulnerabilities.

Vulnerable releases of several common Android Superuser packages may
allow malicious Android applications to execute arbitrary commands as
root without notifying the device owner:

 - ChainsDD Superuser (current releases, including v3.1.3)
 - CyanogenMod/ClockWorkMod/Koush Superuser (current releases,
including v1.0.2.1)
 - Chainfire SuperSU prior to v1.69

The majority of third-party ROMs include one of these packages.

On a rooted Android <= 4.2.x device, /system/xbin/su is a setuid root
binary which performs a number of privilege checks in order to
determine whether the operation requested by the caller should be
allowed.  In the course of its normal duties, and prior to making the
allow/deny decision, /system/xbin/su invokes external programs under a
privileged UID, typically root (0) or system (1000):

 - /system/bin/log, to record activity to logcat
 - /system/bin/am, to send intents to the Superuser Java app
 - /system/bin/sh, to execute the /system/bin/am wrapper script
 - /system/bin/app_process, the Dalvik VM

The user who invokes /system/xbin/su may have the ability to
manipulate the environment variables, file descriptors, signals,
rlimits, tty/stdin/stdout/stderr, and possibly other items belonging
to any of these subprocesses.  At least two vulnerabilities are
readily apparent:

 - On ClockWorkMod Superuser, /system/xbin/su does not set PATH to a
known-good value, so a malicious user could trick /system/bin/am into
using a trojaned app_process binary:

    echo -e '#!/system/bin/sh\nexport PATH=/system/bin:$PATH\ntouch
/data/trojan.out\nexec $0 "$@"' > app_process ; chmod 755 app_process
    PATH=`pwd`:$PATH su -c 'true'

The PATH vulnerability is being tracked under CVE-2013-6768.

 - Other environment variables could be used to affect the behavior of
the (moderately complex) subprocesses.  For instance, manipulation of
BOOTCLASSPATH could cause a malicious .jar file to be loaded into the
privileged Dalvik VM instance.  All three Superuser implementations
allowed Dalvik's BOOTCLASSPATH to be supplied by the attacker.

The BOOTCLASSPATH vulnerability is being tracked under CVE-2013-6774.
    

- 漏洞信息

100803
Chainfire SuperSU for Android BOOTCLASSPATH Environment Variable Path Subversion Local Privilege Escalation
Local Access Required Misconfiguration
Loss of Integrity Solution Unknown
Exploit Public Uncoordinated Disclosure

- 漏洞描述

Chainfire SuperSU for Android is prone to a flaw in the way it loads the BOOTCLASSPATH environment variable. The program uses a fixed path to look for specific files or libraries. This path includes directories that may not be trusted or under user control. By placing a custom version of the file or library in the path, the program will load it before the legitimate version. This allows a local attacker to inject custom code that will be run with the privilege of the program or user executing the program. This attack can be leveraged remotely in some cases by placing the malicious file or library on a network share or extracted archive downloaded from a remote source. This can be done by tricking a user into opening an unspecified file from the local file system or a USB drive in some cases. This attack scenario is certainly possible, but rare.

- 时间线

2013-11-13 Unknow
2013-11-13 Unknow

- 解决方案

It has been reported that this issue has been fixed. Upgrade to version 1.69, or higher, to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Multiple Android Superuser Packages Search Path Local Privilege Escalation Vulnerability
Environment Error 63708
No Yes
2013-11-13 12:00:00 2013-11-13 12:00:00
Kevin Cernekee

- 受影响的程序版本

- 漏洞讨论

Multiple Android Superuser packages are prone to an local privilege-escalation vulnerability.

Attackers can leverage this issue to run commands with root privileges and gain escalated privileges.

The following versions are affected:

ChainsDD Superuser including 3.1.3
CyanogenMod Superuser 1.0.2.1
ClockWorkMod Superuser 1.0.2.1
Koush Superuser 1.0.2.1
Chainfire SuperSU versions prior to 1.69

- 漏洞利用

Attackers can use standard commands to exploit this issue.

- 解决方案

Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com.

- 相关参考

     

     

    关于SCAP中文社区

    SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

    版权声明

    CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站