Vulnerability
CVE-2018-19422
Vulnerability details
- Score
- 7.2
- Severity
- high
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDescription
/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.
CVE ProgramExploit source choices
5 sourcesThis module exploits an authenticated file upload vulnerability in Subrion CMS versions 4.2.1 and lower. The vulnerability is caused by the .htaccess file not preventing the execution of .pht, .phar, and .xhtml files. Files with these extensions are not included in the .htaccess blacklist, hence these files can be uploaded and executed to achieve remote code execution. In this module, a .phar file with a randomized name is uploaded and executed to receive a Meterpreter session on the target, then deletes itself afterwards.
CVE-2018-19422 Authenticated Remote Code Execution
This is an edited version of the CVE-2018-19422 exploit to fix an small but annoying issue I had.
ctf Challange - Writeup von Hackmyvm für Adria - Medium