CVE-2021-33199

In Expression Engine before 6.0.3, addonIcon in Addons/file/mod.file.php relies on the untrusted input value of input->get('file') instead of the fixed file…

published August 12, 2021

CVSS
—
EPSS
1%
Percentile
71.5
In the wild
Unconfirmed
What it is

⚠️ A little mistake in a file handling function could lead to dangerous outcomes! Before version 6.0.3, Expression Engine's addonIcon relied on user input instead of safe, predetermined filenames. 🚨 Think of it like a restaurant that lets customers bring their own ingredients for the chef to use without checking them first. If someone sneaks in a questionable item, it could ruin the entire dish! An attacker could exploit this flaw to potentially display harmful content by manipulating the input. While it's not currently known to be exploited, the risk is still present — like leaving the front door of your restaurant unlocked, just in case someone decides to wander in and make a mess.

Put simply

Think of it like a restaurant that lets customers bring their own ingredients for the chef to use without checking them first. If someone sneaks in a questionable item, it could ruin the entire dish! This vulnerability arises from the addonIcon function in Addons/file/mod.file.php, which takes an untrusted input ('file') when it should only accept fixed file names (icon.png and icon.svg). This oversight allows for unsafe file usage.

What to do

An attacker could exploit this flaw to potentially display harmful content by manipulating the input. While it's not currently known to be exploited, the risk is still present — like leaving the front door of your restaurant unlocked, just in case someone decides to wander in and make a mess. To protect your system, upgrade Expression Engine to version 6.0.3 or later. It's also a good idea to audit your file handling practices to ensure you're not relying on user input for sensitive operations. 🛡️ You’ve got this! With a quick update and a little vigilance, you can keep your site secure and running smoothly! 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01361 · 71.5th percentile
Published
2021-08-12T20:46Z
EPSS history
Timeline
  • 12 AUG 20:46Z
    In Expression Engine before 6.0.3, addonIcon in Addons/file/mod.file.php relies on the untrusted input value of input->get('file') instead of the fixed file…
    cvelistv5