CVE-2013-0276 ActiveRecord vulnerable to modification of protected model attributes
Remote attackers can bypass attribute protection in Ruby on Rails ActiveRecord to modify protected model attributes via crafted requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-0276?
CVE-2013-0276 is a medium-severity missing authorization vulnerability in Rubyonrails Rails, published on 13 Feb 2013. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
ActiveRecord in Ruby on Rails before 2.3.17, 3.1.x before 3.1.11, and 3.2.x before 3.2.12 allows remote attackers to bypass the attr_protected protection mechanism and modify protected model attributes via a crafted request.
Weakness: CWE-264
Which versions are affected by CVE-2013-0276?
6 open source packages ship an affected version, including activerecord. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
activerecord RubyGems | All versions | 2.3.17 |
activerecord RubyGems | All versions | 2.3.17 |
activerecord RubyGems | From 3.1.0 | 3.1.11 |
activerecord RubyGems | From 3.1.0 | 3.1.11 |
activerecord RubyGems | From 3.2.0 | 3.2.12 |
activerecord RubyGems | From 3.2.0 | 3.2.12 |
Products include Rubyonrails Rails.
How do I fix CVE-2013-0276?
Upgrade activerecord to a fixed version for your release line: 2.3.17, 3.1.11 or 3.2.12.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2013-0276 being exploited?
There is no known exploitation of CVE-2013-0276 in the wild and no public exploit code.
Other vulnerabilities in Rubyonrails Rails
- CVE-2013-0277 Active Record contains deserialization of arbitrary YAML
- CVE-2017-17916 SQL injection in n/a
- CVE-2017-17917 SQL injection in n/a
- CVE-2026-33195 Rails Active Storage has possible Path Traversal in DiskService
- CVE-2024-26142 Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Sources
Also known as DEBIAN-CVE-2013-0276, GHSA-gr44-7grc-37vq.