SecurityContext

CVE-2011-5097: Chef Server - Broken Access Control

  • Cve: CVE-2011-5097
  • Name: Chef Server - Broken Access Control
  • Description: chef-server-api/app/controllers/cookbooks.rb in Chef Server in Chef before 0.9.18, and 0.10.x before 0.10.2, does not require administrative privileges for the update and destroy methods, which allows remote authenticated users to (1) upload cookbooks via a knife cookbook upload command or (2) delete cookbooks via a knife cookbook delete command.
  • Impact: Authenticated users can upload or delete cookbooks, potentially leading to unauthorized code execution or service disruption.
  • Remediation: Update to Chef Server 0.9.18 or 0.10.2, or later versions with proper privilege checks.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:N/I:P/A:P
  • Epss score: 0.01423
  • Epss percentile: 0.73583
  • Assignee: [email protected]
  • Published at: 2012-08-08T10:26:18Z
  • Age in days: 5221
  • Modified at: 2026-06-16T23:35:56Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-5097
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-264—

References

UrlSourceTags
https://github.com/opscode/chef/commit/a4ea6edab2fecb922f999cffb0daa04eeeec7a26nvdPatch
http://tickets.opscode.com/browse/CHEF-2436nvd

Products

ProductAffectedPlatform boundSourcesUrl
opscode:chef= 0.10.0, <= 0.9.16, = 0.9.14, = 0.9.12, = 0.9.10, = 0.9.8, = 0.9.6, = 0.9.4, = 0.9.2, = 0.9.0, = 0.8.10, = 0.8.8, = 0.8.6, = 0.8.4, = 0.8.2, = 0.7.14, = 0.7.12, = 0.7.10, = 0.7.8, = 0.7.6, = 0.7.4, = 0.7.2nonvd/v1/products/opscode/chef

Projects

RepositoryLink kindsIndexedUrl
opscode/chefcommityes/v1/repositories/opscode/chef

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts