CVE-2018-6383: Arbitrary PHP Code Execution via File Upload in Monstra CMS 3.0.4
- Vendor
- Monstra
Monstra CMS through version 3.0.4 fails to properly restrict dangerous file extensions in its file upload functionality. While the application blocks .php and similar extensions, it does not block .pht or .phar extensions. This allows remote authenticated Admins or Editors to upload files containing arbitrary PHP code with these extensions, which can then be executed on the server, leading to remote code execution. This vulnerability is distinct from CVE-2017-18048.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Authenticated Admins or Editors can achieve arbitrary code execution on the server by uploading a malicious .pht or .phar file. This can lead to full compromise of the CMS instance, including data theft, defacement, or further lateral movement within the hosting environment.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, implement server-side restrictions to block execution of .pht and .phar files in upload directories, and use web server configuration to deny access to these file types. Limit file upload permissions to only trusted users and monitor uploaded files for suspicious activity.
Remediation
Patch, then assume compromise.
Update Monstra CMS to a version that properly restricts all PHP-related file extensions, including .pht and .phar, in the file upload functionality. Apply any vendor-supplied patches addressing this issue.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-6383 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-6383 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-6383?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-6383.
- Is there a patch for CVE-2018-6383?
- Update Monstra CMS to a version that properly restricts all PHP-related file extensions, including .pht and .phar, in the file upload functionality. Apply any vendor-supplied patches addressing this issue.
- What products are affected by CVE-2018-6383?
- Monstra.
- How severe is CVE-2018-6383?
- CVE-2018-6383 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 13.5% (97th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.