CVE-2011-5098 (GCVE-0-2011-5098)

Vulnerability from cvelistv5 – Published: 2012-08-08 10:00 – Updated: 2024-09-17 03:42
VLAI
Summary
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.
Severity
No CVSS data available.
CWE
  • n/a
Assigner
mitre CNA under the mitre root
CNA scorecard E 28/100 over 2319 records in the last 180 days details
References
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-07T00:23:40.196Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://tickets.opscode.com/browse/CHEF-2649"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2012-08-08T10:00:00.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://tickets.opscode.com/browse/CHEF-2649"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2011-5098",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947",
              "refsource": "CONFIRM",
              "url": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947"
            },
            {
              "name": "http://tickets.opscode.com/browse/CHEF-2649",
              "refsource": "CONFIRM",
              "url": "http://tickets.opscode.com/browse/CHEF-2649"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2011-5098",
    "datePublished": "2012-08-08T10:00:00.000Z",
    "dateReserved": "2012-08-08T00:00:00.000Z",
    "dateUpdated": "2024-09-17T03:42:41.411Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2011-5098",
      "date": "2026-10-29",
      "epss": "0.01681",
      "percentile": "0.76887"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CA5C7883-7D73-4C09-BEFA-5015FC774FA7",
                    "versionEndIncluding": "0.9.18",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.5.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3F0A4ECB-9141-4C3A-9FC2-884D8E0E4F64",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.5.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3E5F9612-A585-49D3-83D3-AAE88E8CD836",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.5.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "22A2E253-CBDB-47EB-AA92-377DCBB4C7D5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.5.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A268B2C2-8B62-431D-9A5E-DF4D467479DB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "67F10723-C499-413B-B455-8DEDF0A0B83B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.6.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C870FBD3-0E54-4F25-8B6E-53C204EF1888",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4303E45B-3CC7-4F86-9AA3-9DE9E340DDB7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2DE318AD-5737-453F-90B9-449A3593887E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D0FB009E-708B-41BE-98E3-0548204A594A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C369798E-2499-4DD5-8C13-F7A3D0BCAED9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E247C8C9-7404-4920-9CA8-91316483CF01",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0189B6A3-9D58-40D7-BB42-101A600B5014",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.7.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "97B55226-BC34-4060-A37D-8317B8BFB43B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E624C53F-1755-4E88-B575-1AB92781A06C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DAA73864-4852-47D9-9EB9-A2AD654D0BAC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "112F8AEB-9DD0-4A68-B69C-B677BE373DAE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9C6B61EE-2F0D-49DC-ADFD-D0A25A21B8B6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B91DE695-5740-4A14-AC39-873E69E5C69B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "05249F0F-9298-44F7-95B9-7B23C4D07823",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EFCA8FBF-BEA3-408D-868C-99802B0A7B01",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.8.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7E4BDADC-6FE8-4F76-B596-E0D57192D423",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2BBC6CA8-45FE-4A3E-8EA2-D4B3B2C8036C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1B0E4636-741A-488B-B630-069C31476987",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "870939E2-77E8-4821-851D-0B770B6BAD47",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A5B26A9F-3A23-4828-80B5-D8B19AEC843B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "802801AB-C583-4DCB-8542-D509C6E427B7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "993E5C5C-C351-4B24-ABEB-AB43C364152B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "571427BE-B823-414B-9553-D1F744FE24AE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B5A21EFF-2E01-4CD9-9710-328413910E58",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.9.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "135B3CDA-8DF6-47E0-BFC6-C4701A6A691E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.10.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F1F1938B-B09A-456A-B831-72A1BA7A76C2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.10.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0E41FDC2-48B6-4639-8B56-D18CBF2EF4E7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:opscode:chef:0.10.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EC50D953-3995-4D98-903A-D62558804AE4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          },
          {
            "lang": "es",
            "value": "chef-server-api/app/controllers/clients.rb en Chef Server en Chef anterior a v0.9.20, y v0.10.x anterior a v0.10.6, no solicita  privilegios administrativos para la creaci\u00f3n de clientes de administraci\u00f3n, lo que permite a usuarios remotos autenticados eludir las restricciones de acceso mediante el aprovechamiento del permiso de lectura para la clave de validaci\u00f3n y ejecuci\u00f3n de un cliente (knife) mediante un comando que incluya la opci\u00f3n --admin."
          }
        ],
        "id": "CVE-2011-5098",
        "lastModified": "2026-04-29T01:13:23.040",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "SINGLE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 6.5,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 8.0,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2012-08-08T10:26:18.207",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "http://tickets.opscode.com/browse/CHEF-2649"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://tickets.opscode.com/browse/CHEF-2649"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "https://github.com/opscode/chef/commit/33f0e9c58bbf047e1b401a834f3abfe72d9a8947"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-264"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.