CVE-2010-5142 Chef Improper Access Control vulnerability

Medium 6.5 Published Updated

Remote authenticated users can manage user accounts without administrative privileges due to missing authorization checks in the Chef server API.

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-2010-5142?

CVE-2010-5142 is a medium-severity missing authorization vulnerability in n/a, published on 8 Aug 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

chef-server-api/app/controllers/users.rb in the API in Chef before 0.9.0 does not require administrative privileges for the create, destroy, and update methods, which allows remote authenticated users to manage user accounts via requests to the /users URI.

Weakness: CWE-264

Which versions are affected by CVE-2010-5142?

2 open source packages ship an affected version, including chef. It affects 1 product.

PackageAffectedFixed in
chef RubyGemsAll versions0.9.0
chef RubyGemsAll versions0.9.0

Products include Opscode Chef.

How do I fix CVE-2010-5142?

Upgrade chef to 0.9.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2010-5142 being exploited?

There is no known exploitation of CVE-2010-5142 in the wild and no public exploit code.

Sources

Also known as GHSA-f68m-q26r-64f6.

Is CVE-2010-5142 in your software?

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

Check your SBOMs for free