发布时间 :2005-09-02 13:03:00
修订时间 :2011-03-07 21:23:05

[原文]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 1.2.5及早期版本中的log4sh_readProperties允许用户借助于对可预知的log4sh.$$文件名的符号链接攻击重写任意文件。

- CVSS (基础分值)

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

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


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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(PATCH)  BID  14140
(UNKNOWN)  VUPEN  ADV-2005-0957
(UNKNOWN)  FULLDISC  20050704 log4sh insecure temporary file creation
(UNKNOWN)  VULNWATCH  20050705 log4sh insecure temporary file creation

- 漏洞信息

低危 设计错误
2005-09-02 00:00:00 2005-10-20 00:00:00
        log4sh 1.2.5及早期版本中的log4sh_readProperties允许用户借助于对可预知的log4sh.$$文件名的符号链接攻击重写任意文件。

- 公告与补丁

        Log4sh Log4sh 1.2.3
        Log4sh log4sh-1.2.6.tgz
        Log4sh Log4sh 1.2.4
        Log4sh log4sh-1.2.6.tgz
        Log4sh Log4sh 1.2.5
        Log4sh log4sh-1.2.6.tgz

- 漏洞信息

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

- 相关参考