CVE-2013-0155
medium
CVSS v3
—
CVSS v2
6.4
VIR risk
6.4
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2013-0155
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | 6.0 | affected | |
| debian | bookworm | fixed | 2.3.14.1 |
| debian | bullseye | fixed | 2.3.14.1 |
| debian | forky | fixed | 2.3.14.1 |
| debian | sid | fixed | 2.3.14.1 |
| debian | trixie | fixed | 2.3.14.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activerecord | <~> 2.3.16 | ~> 2.3.16 |
| RubyGems | activerecord | >=3.0.0,<3.0.19 | 3.0.19 |
| RubyGems | activerecord | >=3.1.0,<3.1.10 | 3.1.10 |
| RubyGems | activerecord | >=3.2.0,<3.2.11 | 3.2.11 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubyonrails | rails | {"startIncluding":"3.2.0","endExcluding":"3.2.11"} | 3.2.11 |
| rubyonrails | ruby_on_rails | {"startIncluding":"3.0.0","endExcluding":"3.0.19"} | 3.0.19 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0155
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- http://rhn.redhat.com/errata/RHSA-2013-0155.html
- http://support.apple.com/kb/HT5784
- http://www.debian.org/security/2013/dsa-2609
- https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain
- https://puppet.com/security/cve/cve-2013-0155
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-0155.yml
- https://security-tracker.debian.org/tracker/CVE-2013-0155
CWEs
CWE-264
Verify integrity in audit chain (admin only). AS-IS.