CVE-2013-6417

Related Vulnerabilities: CVE-2013-6417  

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request that leverages (1) third-party Rack middleware or (2) custom Rack middleware. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.

The MITRE CVE dictionary describes this issue as:

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request that leverages (1) third-party Rack middleware or (2) custom Rack middleware. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.

Find out more about CVE-2013-6417 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 6.4
Base Metrics AV:N/AC:L/Au:N/C:P/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 (ruby193-rubygem-actionpack) RHSA-2013:1794 2013-12-05
CloudForms Management Engine 5.4 (ruby193-rubygem-actionpack) RHSA-2014:0469 2014-05-12
Red Hat Enterprise Linux OpenStack Platform 3.0 (ruby193-rubygem-actionpack) RHSA-2014:0008 2014-01-06

Affected Packages State

Platform Package State
Red Hat Subscription Asset Manager 1 ruby193-rubygem-actionpack Affected
Red Hat Subscription Asset Manager 1 rubygem-actionpack Will not fix
Red Hat Software Collections 1 for Red Hat Enterprise Linux ruby200-rubygem-actionpack Affected
Red Hat Satellite 6 ruby193-rubygem-actionpack Affected
Red Hat OpenShift Enterprise 1 ruby193-rubygem-actionpack Will not fix
Red Hat Enterprise Linux OpenStack Platform 4.0 ruby193-rubygem-actionpack Affected

Acknowledgements

Red Hat would like to thank the Ruby on Rails project for reporting this issue. The Ruby on Rails project acknowledges Sudhir Rao as the original reporter.