Executive Summary

Summary
Title rssh security update
Informations
Name DSA-2578 First vendor Publication 2012-11-28
Vendor Debian Last vendor Modification 2012-11-28
Severity (Vendor) N/A Revision 1

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.4 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

James Clawson discovered that rssh, a restricted shell for OpenSSH to be used with scp/sftp, rdist and cvs, was not correctly filtering command line options. This could be used to force the execution of a remote script and thus allow arbitrary command execution. Two CVE were assigned:

CVE-2012-2251 Incorrect filtering of command line when using rsync protocol. It was for example possible to pass dangerous options after a "--" switch. The rsync protocol support has been added in a Debian (and Fedora/Red Hat) specific patch, so this vulnerability doesn't affect upstream.

CVE-2012-2251 Incorrect filtering of the "--rsh" option: the filter preventing usage of the "--rsh=" option would not prevent passing "--rsh". This vulnerability affects upstream code.

For the stable distribution (squeeze), this problem has been fixed in version 2.3.2-13squeeze2.

For the testing distribution (wheezy), this problem has been fixed in version 2.3.3-6.

For the unstable distribution (sid), this problem has been fixed in version 2.3.3-6.

We recommend that you upgrade your rssh packages.

Original Source

Url : http://www.debian.org/security/2012/dsa-2578

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-20 Improper Input Validation

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:19885
 
Oval ID: oval:org.mitre.oval:def:19885
Title: DSA-2578-1 rssh - several
Description: James Clawson discovered that rssh, a restricted shell for OpenSSH to be used with scp, sftp, rdist and cvs, was not correctly filtering command line options. This could be used to force the execution of a remote script and thus allow arbitrary command execution. Two CVE were assigned.
Family: unix Class: patch
Reference(s): DSA-2578-1
CVE-2012-2251
CVE-2012-2252
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): rssh
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 14

OpenVAS Exploits

Date Description
2012-12-26 Name : Fedora Update for rssh FEDORA-2012-20109
File : nvt/gb_fedora_2012_20109_rssh_fc17.nasl
2012-12-04 Name : Debian Security Advisory DSA 2578-1 (rssh)
File : nvt/deb_2578_1.nasl

Nessus® Vulnerability Scanner

Date Description
2013-11-29 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201311-19.nasl - Type : ACT_GATHER_INFO
2013-01-14 Name : The remote Fedora host is missing a security update.
File : fedora_2012-20111.nasl - Type : ACT_GATHER_INFO
2012-12-20 Name : The remote Fedora host is missing a security update.
File : fedora_2012-20109.nasl - Type : ACT_GATHER_INFO
2012-11-28 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2578.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2014-02-17 11:31:28
  • Multiple Updates
2013-01-11 17:21:07
  • Multiple Updates
2013-01-11 13:22:50
  • Multiple Updates
2012-11-28 00:19:30
  • First insertion