CVE-2018-18874

nc-cms through 2017-03-10 allows remote attackers to execute arbitrary PHP code via the "Upload File or Image" feature, with a .php filename and "Content-Type…

published October 31, 2018

CVSS
—
EPSS
2%
Percentile
81.2
In the wild
Unconfirmed
What it is

⚡ A crafty upload function lets attackers slip in malicious PHP files, turning your server into a playground for mischief! 🔥 Think of it like a sneaky chef who delivers a dish labeled 'dessert' but it's actually filled with toxic ingredients. If the kitchen doesn't check the labels, that poison can spread throughout the whole restaurant! An attacker could upload a malicious PHP file and execute arbitrary code on your server, leading to a complete takeover of your web application. This could mean anything from data theft to total destruction of your setup, making it an alarming scenario for any website owner!

Put simply

Think of it like a sneaky chef who delivers a dish labeled 'dessert' but it's actually filled with toxic ingredients. If the kitchen doesn't check the labels, that poison can spread throughout the whole restaurant! This vulnerability occurs in nc-cms versions prior to 2017-03-10, allowing remote attackers to upload files with .php extensions by exploiting the file upload feature without proper validation.

What to do

An attacker could upload a malicious PHP file and execute arbitrary code on your server, leading to a complete takeover of your web application. This could mean anything from data theft to total destruction of your setup, making it an alarming scenario for any website owner! To mitigate this risk, ensure to update nc-cms to the latest version. Additionally, implement strict file type validation and configure your server to disallow executing uploaded PHP files. Your security is worth the effort! You've got this! Follow these steps, and you'll have your site secured in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02062 · 81.2th percentile
Published
2018-10-31T16:00Z
EPSS history
Timeline
  • 31 OCT 16:00Z
    nc-cms through 2017-03-10 allows remote attackers to execute arbitrary PHP code via the "Upload File or Image" feature, with a .php filename and "Content-Type…
    cvelistv5