CVE-2010-5142: Medium severity Opscode Chef vulnerability

Published Aug 8, 2012
·
Updated

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.

Other sources

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.

Affected Software

13 affected componentsFixes available
rubygems/chef<0.9.0
0.9.0
Opscode Chef=0.7.8
Opscode Chef=0.7.2
Opscode Chef=0.8.4
Opscode Chef=0.7.10
Opscode Chef=0.7.12
Opscode Chef<=0.8.10
Opscode Chef=0.7.14
Opscode Chef=0.7.4
Opscode Chef=0.8.6
Opscode Chef=0.8.8
Opscode Chef=0.7.6
Opscode Chef=0.8.2

Event History

Aug 8, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
May 17, 2022
Advisory Published
via GitHub·05:26 AM

Frequently Asked Questions

1

What is the severity of CVE-2010-5142?

CVE-2010-5142 is classified as a high severity vulnerability due to its potential impact on user account management.

2

How do I fix CVE-2010-5142?

To mitigate CVE-2010-5142, upgrade Chef to version 0.9.0 or later to enable proper administrative privilege checks.

3

What versions of Chef are affected by CVE-2010-5142?

CVE-2010-5142 affects Chef versions 0.8.10 and earlier, including all versions of 0.7.x.

4

What actions can be performed by exploiting CVE-2010-5142?

Exploitation of CVE-2010-5142 allows remote authenticated users to create, update, or delete user accounts via the /users API endpoint.

5

Is there a workaround for CVE-2010-5142 if an upgrade is not immediately possible?

If an upgrade is not feasible, limit access to the /users API endpoint to trusted users to mitigate the risk associated with CVE-2010-5142.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203