Netscape 通信机 /tmp 符号链接漏洞

Netscape 通信机 /tmp 符号链接漏洞

漏洞ID 1105822 漏洞类型 竞争条件
发布时间 2000-05-10 更新时间 2005-05-02
图片[1]-Netscape 通信机 /tmp 符号链接漏洞-安全小百科CVE编号 CVE-2000-0409
图片[2]-Netscape 通信机 /tmp 符号链接漏洞-安全小百科CNNVD-ID CNNVD-200005-040
漏洞平台 Multiple CVSS评分 3.7
|漏洞来源
https://www.exploit-db.com/exploits/19912
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200005-040
|漏洞详情
Netscape4.73和早期版本的符号链接在导入新蛋证书时存在漏洞,本地用户可以利用这个漏洞将自身的证书导入覆盖原有文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/1201/info

Netscape Communicator version 4.73 and prior may be susceptible to a /tmp file race condition when importing certificates. Netscape creates a /tmp file which is world readable and writable in /tmp, without calling stat() or fstat() on the file. As such, it is possible, should a user be able to predict the file name, to cause a symbolic link to be created, and followed elsewhere on the file system. 

Additionally, as the file is created mode 666 prior to being fchmod()'d to 600, there may be a window of opportunity for altering the contents of this file.

This issue has only been demonstrated on the Linux binary, for glibc. The sparc Solaris binary does not behave this way.

Predict the name of the temporary file.
ln -sf /elsewhere /tmp/<tmpfilename>

Alternately, a program which watches for the creation of these temporary files, opens them upon their creation, and alters the contents can be written.
|参考资料

来源:BID
名称:1201
链接:http://www.securityfocus.com/bid/1201
来源:BUGTRAQ
名称:20000510PossiblesymlinkproblemswithNetscape4.73
链接:http://archives.neohapsis.com/archives/bugtraq/2000-05/0126.html

相关推荐: ProFTPD SIZE Remote Denial of Service Vulnerability

ProFTPD SIZE Remote Denial of Service Vulnerability 漏洞ID 1103568 漏洞类型 Failure to Handle Exceptional Conditions 发布时间 2000-12-20 更新时…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享