{ "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2022-40797", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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.)" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6", "url": "https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6" }, { "refsource": "MISC", "name": "https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18", "url": "https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18" }, { "refsource": "MISC", "name": "https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php", "url": "https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php" }, { "refsource": "MISC", "name": "http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html", "url": "http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html" } ] } }