CVE-2005-1915
CVSS2.1
发布时间 :2005-09-02 13:03:00
修订时间 :2011-03-07 21:23:05
NMCOS    

[原文]The log4sh_readProperties function in log4sh 1.2.5 and earlier allows local users to overwrite arbitrary files via a symlink attack on predictable log4sh.$$ filenames.


[CNNVD]Log4sh不安全临时文件创建漏洞 (CNNVD-200509-023)

        log4sh是一个shell脚本日志框架。
        log4sh 1.2.5及早期版本中的log4sh_readProperties允许用户借助于对可预知的log4sh.$$文件名的符号链接攻击重写任意文件。

- CVSS (基础分值)

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

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

cpe:/a:log4sh:log4sh:1.2.4
cpe:/a:log4sh:log4sh:1.2.5
cpe:/a:log4sh:log4sh:1.2.3

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/14140
(PATCH)  BID  14140
http://www.zataz.net/adviso/log4sh-06092005.txt
(VENDOR_ADVISORY)  MISC  http://www.zataz.net/adviso/log4sh-06092005.txt
http://www.vupen.com/english/advisories/2005/0957
(UNKNOWN)  VUPEN  ADV-2005-0957
http://secunia.com/advisories/15899
(VENDOR_ADVISORY)  SECUNIA  15899
http://bugs.gentoo.org/show_bug.cgi?id=94069
(UNKNOWN)  CONFIRM  http://bugs.gentoo.org/show_bug.cgi?id=94069
http://lists.grok.org.uk/pipermail/full-disclosure/2005-July/034873.html
(UNKNOWN)  FULLDISC  20050704 log4sh insecure temporary file creation
http://archives.neohapsis.com/archives/vulnwatch/2005-q3/0001.html
(UNKNOWN)  VULNWATCH  20050705 log4sh insecure temporary file creation

- 漏洞信息

Log4sh不安全临时文件创建漏洞
低危 设计错误
2005-09-02 00:00:00 2005-10-20 00:00:00
本地  
        log4sh是一个shell脚本日志框架。
        log4sh 1.2.5及早期版本中的log4sh_readProperties允许用户借助于对可预知的log4sh.$$文件名的符号链接攻击重写任意文件。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        Log4sh Log4sh 1.2.3
        Log4sh log4sh-1.2.6.tgz
        http://prdownloads.sourceforge.net/log4sh/log4sh-1.2.6.tgz?use_mirror=umn
        Log4sh Log4sh 1.2.4
        Log4sh log4sh-1.2.6.tgz
        http://prdownloads.sourceforge.net/log4sh/log4sh-1.2.6.tgz?use_mirror=umn
        Log4sh Log4sh 1.2.5
        Log4sh log4sh-1.2.6.tgz
        http://prdownloads.sourceforge.net/log4sh/log4sh-1.2.6.tgz?use_mirror=umn

- 漏洞信息

17711
log4sh Symlink Arbitrary File Manipulation
Local Access Required Race Condition
Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

log4sh contains a flaw that may allow a malicious local user to overwrite or create arbitrary files on the system. The issue is due to the script creating temporary files insecurely. It is possible for a user to use a symlink style attack to manipulate arbitrary files, resulting in a loss of integrity.

- 时间线

2005-07-04 2005-05-26
Unknow Unknow

- 解决方案

Upgrade to version 1.2.6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

Log4sh Insecure Temporary File Creation Vulnerability
Design Error 14140
No Yes
2005-07-04 12:00:00 2009-07-12 04:06:00
Discovery is credited to zataz.

- 受影响的程序版本

Log4sh Log4sh 1.2.5
Log4sh Log4sh 1.2.4
Log4sh Log4sh 1.2.3
Charlton crip 3.5
- Debian Linux 3.1 sparc
- Debian Linux 3.1 s/390
- Debian Linux 3.1 ppc
- Debian Linux 3.1 mipsel
- Debian Linux 3.1 mips
- Debian Linux 3.1 m68k
- Debian Linux 3.1 ia-64
- Debian Linux 3.1 ia-32
- Debian Linux 3.1 hppa
- Debian Linux 3.1 arm
- Debian Linux 3.1 alpha
- Debian Linux 3.1
Log4sh Log4sh 1.2.6

- 不受影响的程序版本

Log4sh Log4sh 1.2.6

- 漏洞讨论

Log4sh creates temporary files in an insecure manner. An attacker will local access could potentially exploit this issue to overwrite files in the context of the application.

Exploitation would most likely result in loss of data or a denial of service if critical files are overwritten in the attack. There is also an unconfirmed potential for privilege escalation if the attacker can write custom data in the attack.

- 漏洞利用

There is no exploit required.

- 解决方案

The vendor has addressed this issue:


Log4sh Log4sh 1.2.3

Log4sh Log4sh 1.2.4

Log4sh Log4sh 1.2.5

Charlton crip 3.5

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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