CVE-2013-0155 Active Record allows bypassing of database-query restrictions
MediumCVSS 6.4
EPSS 8.2%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 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, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems activerecord(RubyGems) | >= 3.0.0, < 3.0.19 | 3.0.19 |
| rubygems activerecord(RubyGems) | >= 3.1.0, < 3.1.10 | 3.1.10 |
| rubygems activerecord(RubyGems) | >= 3.2.0, < 3.2.11 | 3.2.11 |
| rubygems activerecord(RubyGems) | = 3.0.0 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.10 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.10.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.11 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.12 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.12.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.13 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.13.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.14 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.15 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.16 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.17 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.18 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.3 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.4 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.4.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.5 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.5.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.6 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.6.rc1 | No fix listed |
Show 58 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems activerecord(RubyGems) | = 3.0.6.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.7 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.7.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.7.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.8 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.8.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.8.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.8.rc4 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.9 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.9.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.9.rc3 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.9.rc4 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.0.9.rc5 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.0 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.1.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.1.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.1.rc3 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.2.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.2.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.3 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.4 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.4.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.5 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.5.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.6 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.7 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.8 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.1.9 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.0 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.10 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.2.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.3 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.3.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.3.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.4 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.4.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.5 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.6 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.7 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.7.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.8 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.8.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.8.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.9 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.9.rc1 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.9.rc2 | No fix listed |
| rubygems activerecord(RubyGems) | = 3.2.9.rc3 | No fix listed |
| debian/rails(Debian:12) | < 2.3.14.1 | 2.3.14.1 |
| debian/rails(Debian:13) | < 2.3.14.1 | 2.3.14.1 |
| debian/rails(Debian:14) | < 2.3.14.1 | 2.3.14.1 |
| rubyonrails rails | >= 3.2.0, < 3.2.11 | 3.2.11 |
| rubyonrails ruby on rails | >= 3.0.0, < 3.0.19 | 3.0.19 |
| rubyonrails ruby on rails | >= 3.1.0, < 3.1.10 | 3.1.10 |
| debian linux | = 6.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- [rubyonrails-security] 20130108 Unsafe Query Generation Risk in Ruby on Rails (CVE-2013-0155) mailing-list third-party-advisory
- ics-cert.us-cert.gov third-party-advisory us-government-resource
- APPLE-SA-2013-06-04-1 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2013:1904 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2013:1906 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2013:1907 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2014:0009 mailing-list third-party-advisory vendor-advisory
- RHSA-2013:0154 third-party-advisory vendor-advisory
- support.apple.com third-party-advisory
- DSA-2609 third-party-advisory vendor-advisory
- github.com exploit
- github.com
- Debian Security Tracker CVE-2013-0155 vendor-advisory
- RHSA-2013:0155 third-party-advisory vendor-advisory
- puppet.com third-party-advisory