Improper input validation in Rubyonrails Rails
CVE-2013-3221
The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column is used during comparisons of input values to stored values in that column, which makes it easier for remote attackers to conduct data-type injection attacks against Ruby on Rails applications via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.020 (79.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Rubyonrails Rails — versions 2.3.0, 2.3.1, 2.3.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- pl.reddit.com/r/netsec/comments/17yajp/mysql_madness_and_rails/
- groups.google.com/group/rubyonrails-security/msg/1f3bc0b88a60c1ce (mailing-list)
- www.phenoelit.org/blog/archives/2013/02/index.html (Exploit)
- openwall.com/lists/oss-security/2013/04/24/7 (mailing-list)
- gist.github.com/dakull/5442275
- openwall.com/lists/oss-security/2013/02/06/7 (mailing-list)
Frequently asked questions
- What is CVE-2013-3221?
- CVE-2013-3221 is a vulnerability in Rubyonrails Rails, classified under Improper Input Validation. Published 2013-04-22.
- Is CVE-2013-3221 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.