← Vulnerability feed

Vulnerability record · CVE-2017-18048 · published 23 January 2018

CVE-2017-18048: Monstra CMS case-sensitive extension check allows arbitrary file upload RCE

Monstra · Monstra

Monstra CMS 3.0.4 blocks the lowercase .php extension on uploads but not the uppercase .PHP, so an authenticated user can upload a PHP file that the server executes. This is an unrestricted file upload (CWE-434) leading directly to remote command execution on the web server.

8.8 CVSS 3.0 High EPSS 63% · top 0.8% CWE-434 · Unrestricted file upload
8.8CVSS 3.0 base score, v2 6.5
63%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 6 tagged exploit
17 Jun 2026Last modified by NVD

Description

Monstra CMS 3.0.4 allows users to upload arbitrary files, which leads to remote command execution on the server, for example because .php (lowercase) is blocked but .PHP (uppercase) is not.

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityAuthenticated remote code execution with public exploit code and very high EPSS, though it requires a valid low-privileged account and the product is an older CMS.

What it is

Monstra CMS 3.0.4 blocks the lowercase .php extension on uploads but not the uppercase .PHP, so an authenticated user can upload a PHP file that the server executes. This is an unrestricted file upload (CWE-434) leading directly to remote command execution on the web server.

Impact

An attacker with a low-privileged account gains remote command execution as the web server user, allowing full compromise of the application and any data or host resources reachable from that process.

Attack surface

Reached over the network through the CMS file upload functionality; the CVSS vector (AV:N/PR:L/UI:N) indicates a low-privileged authenticated account is required and no user interaction is needed.

Exploitation

Public exploit code exists (Exploit-DB 43348 and two third-party exploit write-ups), and EPSS is 0.63355 (99.2nd percentile), indicating high near-term exploitation likelihood; the CVE is not listed in CISA KEV.

What to do

  • Upgrade Monstra CMS to a version that fixes the upload validation issue (see the vendor GitHub issue 426 patch reference); if no fixed release is available, migrate off the unsupported CMS.
  • Enforce case-insensitive extension and MIME-type allowlisting on all uploads, and reject double extensions and executable types.
  • Store uploaded files outside the web root and serve them through a handler that never executes them.
  • Disable PHP execution in upload directories via web server configuration.
  • Restrict upload privileges to trusted roles and audit existing accounts with upload rights.

Detection

  • Monitor web server logs for POST requests to upload endpoints followed by requests to newly written files with .PHP or mixed-case executable extensions.
  • Alert on creation of executable files (.php, .phtml, .PHP) inside upload or content directories.
  • Hunt for web server child processes spawning shells or unexpected system commands.
  • Review file integrity monitoring for new or modified files in web-accessible directories.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-18048 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-40940Monstra unrestricted file upload vulnerabilityMonstra 3.0.4 does not filter the case of php, which leads to an unrestricted file upload vulnerability.EPSS 1.6%9.8CVE-2021-36548Monstra unrestricted file upload vulnerabilityA remote code execution (RCE) vulnerability in the component /admin/index.php?id=themes&action=edit_template&filename=blog of Monstra v3.0.4 allows a…EPSS 3.3%9.8CVE-2020-25414Monstra inclusion from untrusted sphere vulnerabilityA local file inclusion vulnerability was discovered in the captcha function in Monstra 3.0.4 which allows remote attackers to execute arbitrary PHP c…EPSS 2.0%8.8CVE-2020-13384Monstra unrestricted file upload vulnerabilityMonstra CMS 3.0.4 allows remote authenticated users to upload and execute arbitrary PHP code via admin/index.php?id=filesmanager because, for example…EPSS 2.5%8.8CVE-2018-16608Monstra insecure direct object reference vulnerabilityIn Monstra CMS 3.0.4, an attacker with 'Editor' privileges can change the password of the administrator via an admin/index.php?id=users&action=edit&u…EPSS 1.2%8.8CVE-2018-9037Monstra unrestricted file upload vulnerabilityMonstra CMS 3.0.4 allows remote code execution via an upload_file request for a .zip file, which is automatically extracted and may contain .php file…EPSS 2.8%8.8CVE-2018-6383Monstra vulnerabilityMonstra CMS through 3.0.4 has an incomplete "forbidden types" list that excludes .php (and similar) file extensions but not the .pht or .phar extensi…EPSS 13%8.0CVE-2018-11474Monstra vulnerabilityMonstra CMS 3.0.4 has a Session Management Issue in the Administrations Tab. A password change at admin/index.php?id=users&action=edit&user_id=1 does…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2017-18048), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.