{"id":"CVE-2022-40797","published":"2022-11-09T00:00:00Z","modified":"2025-05-01T15:51:32Z","title":"Roxy Fileman 1.4.6 allows Remote Code Execution via a .phar upload, because the default FORBIDDEN_UPLOADS value in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04148,"percentile":0.91094,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6","tags":[]},{"url":"https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18","tags":[]},{"url":"https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php","tags":[]},{"url":"http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html","tags":[]}],"priority":{"score":30.1,"factors":[{"name":"EPSS percentile","points":18.22},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-01T15:51:17.598929Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Roxy Fileman 1.4.6 has a flaw in its file upload filtering, where the default FORBIDDEN_UPLOADS setting in conf.json blocks only .php, .php4, and .php5 files and so leaves .phar files uploadable. An attacker with network access and no authentication can upload a .phar file, and in some realistic web-server configurations, visiting that file causes the PHP interpreter to execute it, giving remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:48Z"},"euvd":{"id":"EUVD-2022-44063","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html"]}