CVE-2013-0155: Ruby on Rails - SQL Injection
- Cve: CVE-2013-0155
- Name: Ruby on Rails - SQL Injection
- 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.
- Impact: Attackers can bypass database query restrictions, potentially leading to unauthorized data access or manipulation.
- Remediation: Update to Rails 3.0.19, 3.1.10, 3.2.11 or later versions.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.4
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:N
- Epss score: 0.08245
- Epss percentile: 0.95035
- Assignee: [email protected]
- Published at: 2013-01-13T22:55:00Z
- Age in days: 5063
- Modified at: 2026-06-16T23:48:51Z
- Patch available: yes
- References total: 12
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2013-0155
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-264 | — |
Hackerone
- Reports: 1
- Rank: 5193
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A | Third Party Advisory, US Government Resource |
| http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html | Mailing List, Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2013-0154.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2013-0155.html | Third Party Advisory |
| http://support.apple.com/kb/HT5784 | Third Party Advisory |
| http://www.debian.org/security/2013/dsa-2609 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| rubyonrails:rails | >= 3.2.0, < 3.2.11 | /v1/products/rubyonrails/rails |
| rubyonrails:ruby_on_rails | >= 3.1.0, < 3.1.10; >= 3.0.0, < 3.0.19 | /v1/products/rubyonrails/ruby_on_rails |
| debian:debian_linux | = 6.0 | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | fix | yes | /v1/repositories/rails/rails |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 4706702
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since