CVE-2001-1102
CVSS6.2
发布时间 :2001-09-08 00:00:00
修订时间 :2008-09-05 16:25:41
NMCOS    

[原文]Check Point FireWall-1 3.0b through 4.1 for Solaris allows local users to overwrite arbitrary files via a symlink attack on temporary policy files that end in a .cpp extension, which are set world-writable.


[CNNVD]Check Point Firewall-1 策略编译符号链接漏洞(CNNVD-200109-022)

        CVE(CAN) ID: CAN-2001-1102
        
        
        
        Check Point Firewall-1是一款流行的商用防火墙产品。
        
        
        
        它存在一个安全问题,允许本地用户创建系统文件或者改变文件属性。FireWall-1编译防
        
        火墙策略时,它会在/tmp目录下创建一个临时文件。临时文件的名字由策略名加".cpp"后缀
        
        组成。文件的属性设置为rw-rw-rw- (666),这允许任何人修改这个文件。由于在创建文件
        
        时没有检查该文件是不是链接文件,攻击者可以通过链接攻击来在任意目录下创建文件。
        
        如果攻击者有权编译防火墙策略并且可以访问防火墙所在系统,就可以利用这个漏洞来提
        
        升权限。
        
        
        
        

- CVSS (基础分值)

CVSS分值: 6.2 [中等(MEDIUM)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: HIGH [漏洞利用存在特定的访问条件]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:checkpoint:firewall-1:4.1:sp1Checkpoint Firewall-1 1 4.1 SP1
cpe:/a:checkpoint:firewall-1:4.0Checkpoint Firewall-1 4.0
cpe:/a:checkpoint:firewall-1:4.1Checkpoint Firewall-1 4.1
cpe:/a:checkpoint:firewall-1:3.0Checkpoint Firewall-1 3.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/7094.php
(VENDOR_ADVISORY)  XF  fw1-tmp-file-symlink(7094)
http://www.securityfocus.com/bid/3300
(VENDOR_ADVISORY)  BID  3300
http://www.securityfocus.com/archive/1/212824
(VENDOR_ADVISORY)  BUGTRAQ  20010908 Bug in compile portion for older versions of CheckPoint Firewalls

- 漏洞信息

Check Point Firewall-1 策略编译符号链接漏洞
中危 竞争条件
2001-09-08 00:00:00 2006-01-04 00:00:00
本地  
        CVE(CAN) ID: CAN-2001-1102
        
        
        
        Check Point Firewall-1是一款流行的商用防火墙产品。
        
        
        
        它存在一个安全问题,允许本地用户创建系统文件或者改变文件属性。FireWall-1编译防
        
        火墙策略时,它会在/tmp目录下创建一个临时文件。临时文件的名字由策略名加".cpp"后缀
        
        组成。文件的属性设置为rw-rw-rw- (666),这允许任何人修改这个文件。由于在创建文件
        
        时没有检查该文件是不是链接文件,攻击者可以通过链接攻击来在任意目录下创建文件。
        
        如果攻击者有权编译防火墙策略并且可以访问防火墙所在系统,就可以利用这个漏洞来提
        
        升权限。
        
        
        
        

- 公告与补丁

        
        
        临时解决方法:
        
        
        
        不要给不可信用户以防火墙的管理员口令。
        
        
        
        厂商补丁:
        
        
        
        Check Point Firewall-1 4.1 SP2已经修复了这个漏洞,您可以在厂商主页下载最新版
        
        本:
        
        
        http://www.checkpoint.com/products/firewall-1/

        

- 漏洞信息

4436
Check Point FireWall-1 .cpp File /tmp Symlink
Local Access Required Race Condition
Loss of Integrity, Loss of Availability
Exploit Public

- 漏洞描述

Check Point FireWall-1 contains a flaw that allows a local attacker to gain root privileges. The issue is due to a flaw in the administrative interface when it writes a new policy. A file is created in /tmp with a predictable name and world writeable permissions (root owned, mode 666). This allows an attacker to create a symlink to an arbitrary file (such as .rhosts) which will inheret the permissions of the temp file.

- 时间线

2001-09-07 2001-01-26
2001-09-07 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

Check Point Firewall-1 Policyname Temporary File Creation Vulnerability
Race Condition Error 3300
No Yes
2001-09-08 12:00:00 2009-07-11 07:56:00
This vulnerability was announced by Alan Darien <adarien@securetrendz.com> via Bugtraq on September 8, 2001.

- 受影响的程序版本

Check Point Software Firewall-1 4.1 SP1
Check Point Software Firewall-1 4.1
Check Point Software Firewall-1 4.0
Check Point Software Firewall-1 3.0
Check Point Software Firewall-1 4.1 SP4
Check Point Software Firewall-1 4.1 SP3
Check Point Software Firewall-1 4.1 SP2

- 不受影响的程序版本

Check Point Software Firewall-1 4.1 SP4
Check Point Software Firewall-1 4.1 SP3
Check Point Software Firewall-1 4.1 SP2

- 漏洞讨论

Check Point Firewall-1 is a commercial firewall implementation designed for small to enterprise sized networks.

A problem with Firewall-1 has been discovered that makes it possible for a local user to change the permissions of root-owned files to world-writable, and potentially gain elevated privileges. The problem is in the creation of predictable /tmp files. Upon editing firewall rules and committing them, a file is created in /tmp using the name of the policy as a filename, and .cpp as an extension.

It's possible for a local user to create symbolic links to root-owned files, which will result in the files becoming world-writable, and potentially gain local root access.

- 漏洞利用

No exploit is required for this vulnerability.

- 解决方案

It is recommended that users of vulnerable software upgrade to minimum revision of Check Point Firewall 4.1 SP4.

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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