~ / search / GHSA-wpw7-wxjm-cw8r

GHSA-wpw7-wxjm-cw8r

actionpack allows bypass of database-query restrictions

Source: GitHub Advisory Database (reviewed) Moderate CVE-2013-6417

Packages

EcosystemPackageAffectedFixed in
RubyGems actionpack >= 3.0.0, < 3.2.16 3.2.16
RubyGems actionpack >= 4.0.0, < 4.0.2 4.0.2

Details

As written in the advisory (Markdown source, shown as plain text).

`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.

References

External links from the advisory. They lead to third-party sites.