CVE-2019-19576

class.upload.php in verot.net class.upload before 1.0.3 and 2.x before 2.0.4, as used in the K2 extension for Joomla!

published December 4, 2019

CVSS
—
EPSS
26%
Percentile
98.0
In the wild
Unconfirmed
What it is

⚠️ An overlooked file extension is the key to potential chaos! The class.upload.php in verot.net's class.upload before versions 1.0.3 and 2.0.4 allows .phar files, which are often ripe for exploitation and could lead to unexpected surprises. 🔥 Think of it like a restaurant that forgot to check the menu for dangerous allergens. Customers can order a dish containing an allergen without any warning, putting their health at risk! An attacker could upload a .phar file, which might contain malicious code, and execute it on the server. This could result in unauthorized access, data breaches, or even complete control over the affected system!

Put simply

Think of it like a restaurant that forgot to check the menu for dangerous allergens. Customers can order a dish containing an allergen without any warning, putting their health at risk! This vulnerability arises because the file upload mechanism does not properly restrict .phar files, which can be used to execute arbitrary PHP code if processed incorrectly.

What to do

An attacker could upload a .phar file, which might contain malicious code, and execute it on the server. This could result in unauthorized access, data breaches, or even complete control over the affected system! Upgrade class.upload to version 1.0.3 or 2.0.4 to close this gap. Additionally, implement strict file extension checks and sanitize uploads to minimize risks. 🛡️ You’ve got this! Following these steps will keep your applications secure and your users safe. 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.26380 · 98.0th percentile
Published
2019-12-04T17:33Z
EPSS history
Timeline
  • 04 DEC 17:33Z
    class.upload.php in verot.net class.upload before 1.0.3 and 2.x before 2.0.4, as used in the K2 extension for Joomla!
    cvelistv5