Exploit database

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:H

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.

CVE Program

Exploit source choices

5 sources
Intelliants Subrion CMS 4.2.1 - Authenticated File Upload Bypass to RCE
MSF-multi--http--subrion_cms_file_upload_rceMetasploitPHP / remote

This 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.

2018-11-04subrion_cms_file_upload_rce.rb
hev0x/cve-2018-19422-subrioncms-rce
GH-319261cd8c2a63aa02f6cdca50d6e365GitHubUnofficial GitHub source

CVE-2018-19422 Authenticated Remote Code Execution

2021-06-144 files · 8 stars
alientec1908/adria.hackmyvm
GH-1b55e62a009a46545583b9fd2997b7e0GitHubUnofficial GitHub source

ctf Challange - Writeup von Hackmyvm für Adria - Medium

2025-05-064 files · 1 stars