Debian: DSA-2578-1: rssh security update

    Date27 Nov 2012
    CategoryDebian
    39
    Posted ByLinuxSecurity Advisories
    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:
    
    - -------------------------------------------------------------------------
    Debian Security Advisory DSA-2578-1                   This email address is being protected from spambots. You need JavaScript enabled to view it.
    http://www.debian.org/security/                         Yves-Alexis Perez
    November 28, 2012                      http://www.debian.org/security/faq
    - -------------------------------------------------------------------------
    
    Package        : rssh
    Vulnerability  : insufficient filtering of rsync command line
    Problem type   : remote
    Debian-specific: no
    CVE ID         : CVE-2012-2251 CVE-2012-2252 
    Debian Bug     : 
    
    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.
    
    Further information about Debian Security Advisories, how to apply
    these updates to your system and frequently asked questions can be
    found at: http://www.debian.org/security/
    
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"7","type":"x","order":"1","pct":58.33,"resources":[]},{"id":"88","title":"Should be more technical","votes":"3","type":"x","order":"2","pct":25,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"2","type":"x","order":"3","pct":16.67,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.