Ruby on Rails nested parameter SQL Injection Vulnerability

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
Ruby on Rails 3.2.x
Ruby on Rails 3.1.x
Ruby on Rails 3.0.x
Ruby on Rails 2.3.x
Description:
--------------------------------------------------------------------------------
Cve id: CVE-2012-2694, CVE-2012-2695

Ruby on Rails (RoR or Rails) is an open-source Web application framework written in Ruby. It is developed in strict accordance with the MVC structure.

Versions earlier than Ruby on Rails 3.2.6, 3.1.6, and 3.0.14 use incorrectly verified input in SQL queries. These inputs are passed to the Active Record interface through nested query parameters, inject SQL code to perform SQL queries. There IS also a vulnerability in Parameter Parsing Rack when ActionPack IS used. You can insert "is null" to SQL query.

<* Source: Ernie Miller

Link: http://secunia.com/advisories/49457/
*>

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

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

Http://www.rubyonrails.com/

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.