scponly command line command execution

scponly-commandline-command-execution (18362) The risk level is classified as HighHigh Risk

Description:

scponly could allow a remote attacker to execute arbitrary commands on the system. A remote attacker, who is authenticated, could use the rsync -e, or scp -S command line option to execute an arbitrary program on the victim's system. A remote attacker could upload arbitrary code to the victim's system and then exploit this vulnerability to run the code on the victim's system.


Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of scponly (4.0 or later), available from the scponly Web site. See References.

References:

  • BugTraq Mailing List, Thu Dec 02 2004 - 07:51:43 CST : rssh and scponly arbitrary command execution.
  • scponly Web site: scponly homepage.
  • BID-11791: SCPOnly Remote Arbitrary Command Execution Vulnerability
  • CVE-2004-1162: The unison command in scponly before 4.0 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 the (1) -rshcmd or (2) -sshcmd flags.
  • GLSA-200412-01: rssh, scponly: Unrestricted command execution

Platforms Affected:

  • Gentoo Linux
  • Joe Boyle scponly prior to 4.0

Reported:

Dec 03, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page