| <?xml version="1.0" encoding="utf-8"?> |
| <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> |
| |
| <glsa id="200410-28"> |
| <title>rssh: Format string vulnerability</title> |
| <synopsis> |
| rssh is vulnerable to a format string vulnerability that allows arbitrary |
| execution of code with the rights of the connected user, thereby bypassing |
| rssh restrictions. |
| </synopsis> |
| <product type="ebuild">rssh</product> |
| <announced>October 27, 2004</announced> |
| <revised>May 22, 2006: 02</revised> |
| <bug>66988</bug> |
| <access>remote</access> |
| <affected> |
| <package name="app-shells/rssh" auto="yes" arch="*"> |
| <unaffected range="ge">2.2.2</unaffected> |
| <vulnerable range="lt">2.2.2</vulnerable> |
| </package> |
| </affected> |
| <background> |
| <p> |
| rssh is a restricted shell, allowing only a few commands like scp or |
| sftp. It is often used as a complement to OpenSSH to provide limited |
| access to users. |
| </p> |
| </background> |
| <description> |
| <p> |
| Florian Schilhabel from the Gentoo Linux Security Audit Team found a |
| format string vulnerability in rssh syslogging of failed commands. |
| </p> |
| </description> |
| <impact type="high"> |
| <p> |
| Using a malicious command, it may be possible for a remote |
| authenticated user to execute arbitrary code on the target machine with |
| user rights, effectively bypassing any restriction of rssh. |
| </p> |
| </impact> |
| <workaround> |
| <p> |
| There is no known workaround at this time. |
| </p> |
| </workaround> |
| <resolution> |
| <p> |
| All rssh users should upgrade to the latest version: |
| </p> |
| <code> |
| # emerge --sync |
| # emerge --ask --oneshot --verbose ">=app-shells/rssh-2.2.2"</code> |
| </resolution> |
| <references> |
| <uri link="http://www.pizzashack.org/rssh/security.shtml">rssh security announcement</uri> |
| <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1628">CVE-2004-1628</uri> |
| </references> |
| <metadata tag="requester" timestamp="Mon, 25 Oct 2004 13:31:44 +0000"> |
| koon |
| </metadata> |
| <metadata tag="bugReady" timestamp="Mon, 25 Oct 2004 13:31:54 +0000"> |
| koon |
| </metadata> |
| <metadata tag="submitter" timestamp="Tue, 26 Oct 2004 13:24:10 +0000"> |
| koon |
| </metadata> |
| </glsa> |