Description
/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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Intelliants Subrion CMS 4.2.1 - Authenticated File Upload Bypass to RCE
exploit/multi/http/subrion_cms_file_upload_rce
Exploit-DB 1
- Subrion CMS 4.2.1 - Arbitrary File Upload EDB-49876 · webapps · May 17, 2021
GitHub 3 repositories
-
Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth- ★ 8 · Apr 29, 2022
This is an edited version of the CVE-2018-19422 exploit to fix an small but annoying issue I had.
-
hev0x/CVE-2018-19422-SubrionCMS-RCE ★ 8 · Jun 14, 2021
CVE-2018-19422 Authenticated Remote Code Execution
-
Drew-Alleman/CVE-2018-19422 ★ 0 · Apr 4, 2025
Subrion File Upload Bypass to RCE and Custom File Upload (Authenticated) POC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | intelliants/subrion | < 4.2.2 | 4.2.2 | GHSA-73xj-v6gc-g5p5 |