RubyGems rgpg 'gpg _ helper. rb' Remote Command Injection Vulnerability

Source: Internet
Author: User

Release date: 2013-08-02
Updated on:

Affected Systems:
Rubygems rgpg 0.2.3
Description:
--------------------------------------------------------------------------------
Bugtraq id: 61575

Rgpg is a simple API for interacting with gpg tools.

Rgpg passes user input that does not have valid filtering to the System () function for execution. If this API is used in the context of the rail application, if the user provides shell metacharacters similar to ";", "&" in lib/rgpg/gpg_helper.rb, it is possible to inject remote commands in shell. Attackers can exploit this vulnerability to execute arbitrary commands in the context of the affected application.

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

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

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

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

Https://rubygems.org/gems/rgpg

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.