CVE-1999-1405
CVSS10.0
发布时间 :1999-02-17 00:00:00
修订时间 :2016-10-17 22:04:07
NMCOES    

[原文]snap command in AIX before 4.3.2 creates the /tmp/ibmsupt directory with world-readable permissions and does not remove or clear the directory when snap -a is executed, which could allow local users to access the shadowed password file by creating /tmp/ibmsupt/general/passwd before root runs snap -a.


[CNNVD]AIX snap不安全暂时文件创建漏洞(CNNVD-199902-034)

        AIX 4.3.2之前的版本中的snap命令存在漏洞。snap命令创建带有world-readable许可的/tmp/ibmsupt目录,并且在snap -a已执行时不会移动或删除目录。本地用户可以通过在根运行snap -a之前创建/tmp/ibmsupt/general/passwd来访问隐藏密码。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/o:ibm:aix:4.1.3IBM AIX 4.1.3
cpe:/o:ibm:aix:4.1.4IBM AIX 4.1.4
cpe:/o:ibm:aix:4.2IBM AIX 4.2
cpe:/o:ibm:aix:3.2.5IBM AIX 3.2.5
cpe:/o:ibm:aix:4.1IBM AIX 4.1
cpe:/o:ibm:aix:4.1.2IBM AIX 4.1.2
cpe:/o:ibm:aix:4.2.1IBM AIX 4.2.1
cpe:/o:ibm:aix:4.1.5IBM AIX 4.1.5

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=91936783009385&w=2
(UNKNOWN)  BUGTRAQ  19990217 snap utility for AIX.
http://marc.info/?l=bugtraq&m=91954824614013&w=2
(UNKNOWN)  BUGTRAQ  19990220 Re: snap utility for AIX.
http://www.securityfocus.com/bid/375
(UNKNOWN)  BID  375

- 漏洞信息

AIX snap不安全暂时文件创建漏洞
危急 其他
1999-02-17 00:00:00 2005-10-20 00:00:00
本地  
        AIX 4.3.2之前的版本中的snap命令存在漏洞。snap命令创建带有world-readable许可的/tmp/ibmsupt目录,并且在snap -a已执行时不会移动或删除目录。本地用户可以通过在根运行snap -a之前创建/tmp/ibmsupt/general/passwd来访问隐藏密码。

- 公告与补丁

        Solution:
         AIX 4.3.x APAR: IX88263
         AIX 4.2.x APAR: IX88261
         AIX 4.1.x APAR: upgrade to later version

- 漏洞信息 (19300)

IBM AIX <= 4.2.1 snap Insecure Temporary File Creation Vulnerability (EDBID:19300)
aix local
1999-02-17 Verified
0 Larry W. Cashdollar
N/A [点击下载]
source: http://www.securityfocus.com/bid/375/info

The snap command is a diagnostic utlitiy for gathering system information on AIX platforms. It can only be executed by root, but it copies various system files into /tmp/ibmsupt/ under /tmp/ibmsupt/general/ you will find the passwd file with cyphertext. The danger here is if a system administrator executes snap -a as sometimes requested by IBM support while diagnosing a problem it defeats password shadowing. /tmp/ibmsupt is created with 755 permissions they may carry out a symlink attack and gain access to the password file. 

snap is a shell script which uses cp -p to gather system information. Data from /etc/security is gathered between lines 721 - 727. Seeing that snap uses the /tmp/ibmsupt/general directory someone may create the directory as a normal user (tested on on AIX 4.2.1). The user may then do a touch on /tmp/ibmsupt/general/passwd. Once the passwd file is created do tail -f /tmp/ibmsupt/general/passwd. If in another session someone loggs in as root and ran snap -a - this will cause the contents of the /etc/security/passwd to show up in tail command. 		

- 漏洞信息

8017
IBM AIX snap /tmp/ibmsupt Shadowed Password File Disclosure
Local Access Required Information Disclosure
Loss of Confidentiality Patch / RCS
Exploit Public Vendor Verified

- 漏洞描述

- 时间线

1999-02-17 Unknow
1999-02-17 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, IBM has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

AIX snap Insecure Temporary File Creation Vulnerability
Origin Validation Error 375
No Yes
1999-02-17 12:00:00 2009-07-12 05:56:00
This bug was posted to the Bugtraq mailing list by Larry W. Cashdollar <lwcashd@TROUT.BIW.COM>. Followup messages were posted by Brian Hauber <hauber@AUSTIN.IBM.COM> The Discussion and Exploit sections of this vulnerability were almost wholly based on thos

- 受影响的程序版本

IBM AIX 4.2.1
IBM AIX 4.2
IBM AIX 4.1.5
IBM AIX 4.1.4
IBM AIX 4.1.3
IBM AIX 4.1.2
IBM AIX 4.1
IBM AIX 3.2.5
IBM AIX 4.3.2
IBM AIX 4.3

- 不受影响的程序版本

IBM AIX 4.3.2
IBM AIX 4.3

- 漏洞讨论

The snap command is a diagnostic utlitiy for gathering system information on AIX platforms. It can only be executed by root, but it copies various system files into /tmp/ibmsupt/ under /tmp/ibmsupt/general/ you will find the passwd file with cyphertext. The danger here is if a system administrator executes snap -a as sometimes requested by IBM support while diagnosing a problem it defeats password shadowing. /tmp/ibmsupt is created with 755 permissions they may carry out a symlink attack and gain access to the password file.

- 漏洞利用

snap is a shell script which uses cp -p to gather system information. Data from /etc/security is gathered between lines 721 - 727. Seeing that snap uses the /tmp/ibmsupt/general directory someone may create the directory as a normal user (tested on on AIX 4.2.1). The user may then do a touch on /tmp/ibmsupt/general/passwd. Once the passwd file is created do tail -f /tmp/ibmsupt/general/passwd. If in another session someone loggs in as root and ran snap -a - this will cause the contents of the /etc/security/passwd to show up in tail command.

- 解决方案

Solution:
AIX 4.3.x APAR: IX88263
AIX 4.2.x APAR: IX88261
AIX 4.1.x APAR: upgrade to later version

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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