CVE-2022-40797
Last modified
CVE-2022-40797 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.). EPSS estimates a 2.56% chance of exploitation in the next 30 days.
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.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Roxyfileman | Roxy Fileman | 1.4.6 |
References
- http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.htmlThird Party Advisory, VDB Entry
- https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18Third Party Advisory
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.htmlThird Party Advisory, VDB Entry
- https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18Third Party Advisory
- https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40797?
How severe is CVE-2022-40797?
How do I fix CVE-2022-40797?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40777Interspire Email Marketer through 6.5.0 allows arbitrary fil…8.8
- CVE-2022-40778A stored Cross-Site Scripting (XSS) vulnerability in OPSWAT …5.4
- CVE-2022-4078Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40784Unlimited strcpy on user input when setting a locale file le…8.8
- CVE-2022-40785Unsanitized input when setting a locale file leads to shell …8.8
- CVE-2022-4079Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40798OcoMon 4.0RC1 is vulnerable to Incorrect Access Control. Thr…7.5
- CVE-2022-40799Data Integrity Failure in 'Backup Config' in D-Link DNR-322L…8.8
- CVE-2022-4080Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-40805The d8s-urls for python 0.1.0, as distributed on PyPI, inclu…9.8
- CVE-2022-40806The d8s-uuids for python, as distributed on PyPI, included a…9.8
- CVE-2022-40807The d8s-domains for python, as distributed on PyPI, included…9.8
Are you affected by CVE-2022-40797?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
