CVE-2008-1988

Unrestricted file upload vulnerability in the file_upload function in core/misc.class.php in EncapsGallery 2.0.2 allows remote authenticated administrators to…

published April 27, 2008

CVSS
—
EPSS
3%
Percentile
85.1
In the wild
Unconfirmed
What it is

⚠️ A single unchecked file upload can turn into a gateway for disaster! This vulnerability in EncapsGallery 2.0.2 could let remote authenticated admins upload and execute arbitrary PHP files, unleashing chaos! 🔥 Think of it like a hotel that allows guests to bring in their own food, but forgets to check if it’s safe. A guest could sneak in a meal that’s not just bad for the buffet but could spoil the whole event! With this vulnerability, an attacker could upload a malicious PHP file and execute it directly from the gallery directory, leading to a full compromise of the server. This means they could access sensitive data, manipulate the gallery, and cause absolute mayhem!

Put simply

Think of it like a hotel that allows guests to bring in their own food, but forgets to check if it’s safe. A guest could sneak in a meal that’s not just bad for the buffet but could spoil the whole event! The unrestricted file upload in the file_upload function of core/misc.class.php lets authenticated administrators upload risky files with executable extensions, which are then accessible through direct requests. This flaw opens the door to arbitrary code execution.

What to do

With this vulnerability, an attacker could upload a malicious PHP file and execute it directly from the gallery directory, leading to a full compromise of the server. This means they could access sensitive data, manipulate the gallery, and cause absolute mayhem! To mitigate this risk, ensure that file uploads are strictly validated and only allow safe file types. Additionally, implement access controls to limit who can upload files and regularly audit the rwx_gallery directory for unauthorized files. You've got this! By taking these steps, you can secure your gallery and keep it safe from malicious uploads! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02585 · 85.1th percentile
Published
2008-04-27T21:00Z
EPSS history
Timeline
  • 27 APR 21:00Z
    Unrestricted file upload vulnerability in the file_upload function in core/misc.class.php in EncapsGallery 2.0.2 allows remote authenticated administrators to…
    cvelistv5