CVE-2004-1161
CVSS7.5
发布时间 :2005-01-10 00:00:00
修订时间 :2016-10-17 22:51:51
NMCOE    

[原文]rssh 2.2.2 and earlier does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via (1) rdist -P, (2) rsync, or (3) scp -S.


[CNNVD]rssh 命令执行漏洞(CNNVD-200501-072)

        rssh是一款shell,可以帮助系统管理员为特定用户提供通过scp和sftp登陆某系统的权限。
        rssh 2.2.2及之前版本存在绕过安全限制漏洞。
        由于没有适当的限制可以运行的程序,远程认证用户可通过rdist -P、rsync或scp -S,绕过安全限制,执行任意程序。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/o:gentoo:linuxGentoo Linux
cpe:/a:rssh:rssh:2.2.1
cpe:/a:rssh:rssh:2.2
cpe:/a:rssh:rssh:2.1
cpe:/a:rssh:rssh:2.0
cpe:/a:rssh:rssh:2.2.2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=110202047507273&w=2
(UNKNOWN)  BUGTRAQ  20041202 rssh and scponly arbitrary command execution
http://marc.info/?l=bugtraq&m=110581113814623&w=2
(UNKNOWN)  BUGTRAQ  20050115 Re: rssh and scponly arbitrary command execution
http://www.gentoo.org/security/en/glsa/glsa-200412-01.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200412-01
http://www.securityfocus.com/bid/11792
(VENDOR_ADVISORY)  BID  11792

- 漏洞信息

rssh 命令执行漏洞
高危 未知
2005-01-10 00:00:00 2005-10-20 00:00:00
远程  
        rssh是一款shell,可以帮助系统管理员为特定用户提供通过scp和sftp登陆某系统的权限。
        rssh 2.2.2及之前版本存在绕过安全限制漏洞。
        由于没有适当的限制可以运行的程序,远程认证用户可通过rdist -P、rsync或scp -S,绕过安全限制,执行任意程序。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://www.pizzashack.org/rssh/downloads.shtml

- 漏洞信息 (24795)

RSSH 2.x Remote Arbitrary Command Execution Vulnerability (EDBID:24795)
linux remote
2004-12-02 Verified
0 Jason Wies
N/A [点击下载]
source: http://www.securityfocus.com/bid/11792/info

rssh is reported prone to a remote arbitrary command execution vulnerability. This issue may allow a remote attacker to execute commands and scripts on a vulnerable computer and eventually allow an attacker to gain elevated privileges on a vulnerable computer.

All versions of rssh are considered vulnerable at the moment.

ssh restricteduser@remotehost 'rsync -e "touch /tmp/example --" localhost:/dev/null /tmp' 

scp command.sh restricteduser@remotehost:/tmp/command.sh 

ssh restricteduser@remotehost 'scp -S /tmp/command.sh localhost:/dev/null /tmp'		

- 漏洞信息

12182
rssh -S Arbitrary Remote Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

rssh contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the scp, rdist, and rsync applications permitting flags that specify remote commands for execution. The issues exist with the scp -S, rdist -P, and rsync -e commands.

- 时间线

2004-12-02 Unknow
2004-12-02 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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