CVE-2013-0276 ActiveRecord vulnerable to modification of protected model attributes

Medium 4.3 Published Updated

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.

PackageAffectedFixed in
activerecord RubyGemsAll versions2.3.17
activerecord RubyGemsAll versions2.3.17
activerecord RubyGemsFrom 3.1.03.1.11
activerecord RubyGemsFrom 3.1.03.1.11
activerecord RubyGemsFrom 3.2.03.2.12
activerecord RubyGemsFrom 3.2.03.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.

All Rubyonrails Rails vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-0276, GHSA-gr44-7grc-37vq.

Is CVE-2013-0276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free