{"id":"CVE-2018-19422","published":"2018-11-21T00:00:00Z","modified":"2024-08-05T11:37:11Z","title":"/panel/uploads in Subrion CMS 4.2.1 allows remote attackers to execute arbitrary PHP code via a .pht or .phar file…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"/panel/uploads in Subrion CMS 4.2.1 allows remote attackers to execute arbitrary PHP code via a .pht or .phar file, because the .htaccess file omits these.","provenance":"source","from":"CVE.org"},"summary":{"text":"The /panel/uploads component in Subrion CMS 4.2.1 has a flaw in its upload handling, where the .htaccess file fails to block .pht and .phar files from being served as code. An attacker who can reach that component remotely can upload a .pht or .phar file and have it executed as arbitrary PHP on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:21:10Z"},"cvss":null,"epss":{"score":0.64507,"percentile":0.99252,"date":"2026-11-17","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/intelliants/subrion/issues/801","tags":[]},{"url":"http://packetstormsecurity.com/files/162591/Subrion-CMS-4.2.1-Shell-Upload.html","tags":[]},{"url":"http://packetstormsecurity.com/files/173998/Intelliants-Subrion-CMS-4.2.1-Remote-Code-Execution.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"intelliants/subrion","vulnerableRanges":["<4.2.2"],"patched":["4.2.2"],"from":["GHSA-73xj-v6gc-g5p5"],"provenance":"source"}],"advisories":[{"id":"GHSA-73xj-v6gc-g5p5","url":"https://github.com/advisories/GHSA-73xj-v6gc-g5p5","severity":"HIGH","ecosystem":"Packagist","package":"intelliants/subrion","vulnerableRanges":["<4.2.2"],"patched":["4.2.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-2907","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-2907","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":49876,"url":"https://www.exploit-db.com/exploits/49876","title":"Subrion CMS 4.2.1 - Arbitrary File Upload","type":"webapps","platform":"php","date":"2021-05-17","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-05-17"},"pocGithub":{"count":3,"skipped":0,"earliest":"2021-06-14","earliestUrl":"https://github.com/hev0x/CVE-2018-19422-SubrionCMS-RCE","repos":[{"name":"hev0x/CVE-2018-19422-SubrionCMS-RCE","url":"https://github.com/hev0x/CVE-2018-19422-SubrionCMS-RCE","stars":8,"created":"2021-06-14"},{"name":"Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth-","url":"https://github.com/Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth-","stars":8,"created":"2022-04-29"},{"name":"Drew-Alleman/CVE-2018-19422","url":"https://github.com/Drew-Alleman/CVE-2018-19422","stars":0,"created":"2025-04-04"}]},"metasploit":[{"name":"Intelliants Subrion CMS 4.2.1 - Authenticated File Upload Bypass to RCE","module":"exploit/multi/http/subrion_cms_file_upload_rce","type":"exploit","disclosureDate":"2018-11-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/subrion_cms_file_upload_rce.rb"}],"first":{"date":"2018-11-04","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/subrion_cms_file_upload_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/162591/Subrion-CMS-4.2.1-Shell-Upload.html","http://packetstormsecurity.com/files/173998/Intelliants-Subrion-CMS-4.2.1-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2018-11-04","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2021-05-17, PoC-in-GitHub 2021-06-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/subrion_cms_file_upload_rce.rb","provenance":"source"},{"date":"2018-11-21","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-19422","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9925"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 NVD exploit links; 3 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-intelliants-subrion-cve-2018-14840","parents":[{"from":"CVE-2018-14840","to":"CVE-2018-19422","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["uploads/.htaccess"],"commits":["https://github.com/intelliants/subrion/commit/cb10ac2294cb2c3a6d2159f9a2bb8c58a2a10a47","https://github.com/intelliants/subrion/commit/b12e287d3814c0f2d0b1892f95fc0190972d2ba5","https://github.com/intelliants/subrion/commit/74359bcfaea424edda6d782a8ac25397c55972ab"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2018-19422","to":"CVE-2018-16629","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["uploads/.htaccess"],"commits":["https://github.com/intelliants/subrion/commit/fbc29ddb29e9c9732695e25ad2c22e038eed6385","https://github.com/intelliants/subrion/commit/74359bcfaea424edda6d782a8ac25397c55972ab"],"basis":"rarely changed file"}]}]}}