CVE-2024-52677

HkCms <= v2.3.2.240702 is vulnerable to file upload in the getFileName method in /app/common/library/Upload.php

Critical · published November 20, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
50.1
In the wild
Unconfirmed
What it is

🚨 A broken file upload feature in HkCms can let anyone upload malicious files with ease — talk about a security nightmare! 🔥 Think of it like a restaurant that lets anyone sneak in their own ingredients without asking — the chef never checks what's coming through the kitchen doors! This vulnerability can lead to an attacker cooking up trouble right on your server. The consequences could be absolutely devastating! An attacker could upload harmful files, potentially leading to data breaches, service disruptions, or even complete server takeover. Your entire website's integrity could be at stake!

Put simply

Think of it like a restaurant that lets anyone sneak in their own ingredients without asking — the chef never checks what's coming through the kitchen doors! This vulnerability can lead to an attacker cooking up trouble right on your server. This vulnerability allows file uploads through the `getFileName` method in `/app/common/library/Upload.php`. Because of inadequate validation, attackers can upload files that your system should never accept.

What to do

The consequences could be absolutely devastating! An attacker could upload harmful files, potentially leading to data breaches, service disruptions, or even complete server takeover. Your entire website's integrity could be at stake! Immediately patch to version 2.3.2.241000 or later to close this loophole. Additionally, implement strict file upload validation to ensure only authorized file types are accepted. Regularly audit your upload functions for security best practices. You've got this! With the right steps, you'll shore up your defenses and keep those pesky file uploads at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00641 · 50.1th percentile
Published
2024-11-20T00:00Z
EPSS history
Timeline
  • 20 NOV 00:00Z
    HkCms <= v2.3.2.240702 is vulnerable to file upload in the getFileName method in /app/common/library/Upload.php
    cvelistv5