CVE-2022-40797
Roxyfileman Roxy Fileman vulnerability
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.)
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Roxy Fileman. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Roxyfileman Roxy Fileman runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html · Third Party Advisory
- gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18 · Third Party Advisory
- salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-c · Exploit
- web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php
- nvd.nist.gov/vuln/detail/CVE-2022-40797
- cve.org/CVERecord?id=CVE-2022-40797
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.