Ruby on Rails Active Record SQL Injection Vulnerability (Windows)

Published: 2016-10-13 08:59:34
CVE Author: NIST National Vulnerability Database (NVD)

CVSS Base Vector:
AV:N/AC:L/Au:N/C:N/I:P/A:N

Detection Type:
Remote Banner

Summary:
This host is running Ruby on Rails and is prone to SQL injection vulnerability.

Detection Method:
Checks if a vulnerable version is present on the target host.

Technical Details:
The flaw is due to the way Active Record interprets parameters in combination with the way that JSON parameters are parsed, it is possible for an attacker to issue unexpected database queries with 'IS NULL' or empty where clauses.

Impact:
Successful exploitation will allow a remote attacker to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain '[nil]' values.

Affected Versions:
Ruby on Rails 4.2.x before 4.2.7.1 on Windows

Recommendations:
Upgrade to Ruby on Rails 4.2.7.1 or later.

Solution Type:
Vendor Patch

NIST (National Institute of Standards and Technology) NVD (National Vulnerability Database)

https://nvd.nist.gov/vuln/detail/CVE-2016-6317

SecurityFocus Bugtraq ID:

https://www.securityfocus.com/bid/92434

References:

http://www.openwall.com/lists/oss-security/2016/08/11/4
https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA
http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released
http://rubyonrails.org

Search
Severity
Medium
CVSS Score
5.0

You never have to pay for a vulnerability scanning and management software again.

Tired of paying a subscription 'per asset' or 'per IP'? Well you can officially cancel your current subscription. Mageni provides a free, open source and enterprise-ready vulnerability scanning and management platform which helps you to find, prioritize, remediate and manage your vulnerabilities. It is free and always will be.