SecurityContext

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

  • Cve: CVE-2011-5098
  • Name: Chef Server - Broken Access Control
  • Description: chef-server-api/app/controllers/clients.rb in Chef Server in Chef before 0.9.20, and 0.10.x before 0.10.6, does not require administrative privileges for creating admin clients, which allows remote authenticated users to bypass intended access restrictions by leveraging read permission for the validation key and executing a knife client create command with the --admin option.
  • Impact: Authenticated users can create admin clients, potentially escalating privileges and compromising the server.
  • Remediation: Update to Chef Server 0.9.20 or later, or 0.10.6 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs remote authentication and read permission for validation key
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
  • Epss score: 0.01681
  • Epss percentile: 0.77554
  • Assignee: [email protected]
  • Published at: 2012-08-08T10:26:18Z
  • Age in days: 5221
  • Modified at: 2026-06-16T23:35:56Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-5098
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-264—

Public exploits

UrlSourceAdded date
https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947nvd2012-08-08

References

UrlSourceTags
https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947nvdExploit, Patch
http://tickets.opscode.com/browse/CHEF-2649nvd

Products

ProductAffectedPlatform boundSourcesUrl
opscode:chef= 0.10.4, = 0.10.2, = 0.10.0, <= 0.9.18, = 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.16, = 0.8.14, = 0.8.12, = 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.2, = 0.6.2, = 0.6.0, = 0.5.6, = 0.5.4, = 0.5.2, = 0.5.1nonvd/v1/products/opscode/chef

Projects

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

Index

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

Exploitation

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