Remote Arbitrary Command Execution Vulnerability in rssh rsync-e

Source: Internet
Author: User

Remote Arbitrary Command Execution Vulnerability in rssh rsync-e

Release date:
Updated on:

Affected Systems:
Rssh 2.3.3
Description:
--------------------------------------------------------------------------------
Bugtraq id: 56708
CVE (CAN) ID: CVE-2012-2251

Rssh is the shell used in combination with OpenSSH. Only scp and sftp are allowed. Now supports rdist, rsync, and cvs.

Rssh 2.3.3-3 does not properly filter the-e option when using rsync, which can cause remote attackers to exploit this vulnerability to execute arbitrary commands.

<* Source: James Clawson

Link: https://bugzilla.redhat.com/show_bug.cgi? Id = 877279
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Rsync-e./script. sh localhost:/tmp -- server ./

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Rssh
----
The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://prdownloads.sourceforge.net/rssh/rssh-2.3.4.tar.gz? Download

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.