CVE-2022-40797
CVE-2022-40797 is a critical-severity vulnerability in Roxyfileman Roxy Fileman with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 3% (83rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-434
- Affected product: Roxyfileman Roxy Fileman
- Published:
- Last modified:
Description
Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in conf.json only blocks .php, .php4, and .php5 files. (Visiting any .phar file invokes the PHP interpreter in some realistic web-server configurations.)
Frequently asked questions
- What is CVE-2022-40797?
- Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in conf.json only blocks .php, .php4, and .php5 files. (Visiting any .phar file invokes the PHP interpreter in some realistic web-server configurations.)
- How severe is CVE-2022-40797?
- CVE-2022-40797 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-40797 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (83rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-40797?
- CVE-2022-40797 affects Roxyfileman Roxy Fileman. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-40797?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-40797 published?
- CVE-2022-40797 was published on 2022-11-09 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html
- https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6
- https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php
Affected products (1)
- cpe:2.3:a:roxyfileman:roxy_fileman:1.4.6:*:*:*:*:*:*:*
More vulnerabilities in Roxyfileman Roxy Fileman
- CVE-2019-7174 — Critical (CVSS 9.8): Roxy Fileman 1.4.5 allows attackers to execute renamefile.php (aka Rename File), createdir.php (aka Create Directory),…
- CVE-2018-20526 — Critical (CVSS 9.8): Roxy Fileman 1.4.5 allows unrestricted file upload in upload.php.
- CVE-2018-20525 — Critical (CVSS 9.1): Roxy Fileman 1.4.5 allows Directory Traversal in copydir.php, copyfile.php, and fileslist.php.
- CVE-2019-19731 — High (CVSS 7.5): Roxy Fileman 1.4.5 for .NET is vulnerable to path traversal. A remote attacker can write uploaded files to arbitrary…
- CVE-2018-12042 — High (CVSS 7.5): Roxy Fileman through v1.4.5 has Directory traversal via the php/download.php f parameter.
All CVEs affecting Roxyfileman Roxy Fileman →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →