{"id":"CVE-2022-40797","sourceIdentifier":"cve@mitre.org","published":"2022-11-09T07:15:09.347","lastModified":"2026-06-17T05:02:02.627","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","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.)"},{"lang":"es","value":"Roxy Fileman 1.4.6 permite la ejecución remota de código mediante una carga .phar, porque el valor predeterminado FORBIDDEN_UPLOADS en conf.json solo bloquea archivos .php, .php4 y .php5. (Al visitar cualquier archivo .phar se invoca el intérprete PHP en algunas configuraciones realistas de servidor web)."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-05-01T15:51:17.598929Z","id":"CVE-2022-40797","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-434"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-434"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:roxyfileman:roxy_fileman:1.4.6:*:*:*:*:*:*:*","matchCriteriaId":"F2B0A937-CF8D-48FC-8D67-6BC56794CD8B"}]}]}],"references":[{"url":"http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html","source":"cve@mitre.org","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php","source":"cve@mitre.org","tags":["Product"]},{"url":"http://packetstormsecurity.com/files/169964/Roxy-Fileman-1.4.6-Remote-Shell-Upload.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://gist.github.com/Hadi999/1f66fe7c5a217ca261ebfec36c630d18","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf#L5-6","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://web.archive.org/web/20210126213412/https://roxyfileman.com/download.php?f=1.4.6-php","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]}]}