CVE-2024-48112

A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code

Critical · published October 30, 2024

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

🔥 A deserialization vulnerability lurking in ThinkPHP versions 6.1.3 to 8.0.4 could let attackers run arbitrary code with just a crafted input — that's like handing someone the keys to your entire house without even a knock! 🚪 Think of it like a restaurant where the chef follows any handwritten order without verifying it. An attacker could send a fake order that instructs the kitchen to cook up malicious code instead of a delicious meal. The consequences of this vulnerability are absolutely devastating. An attacker could waltz right in and execute any code on your server, potentially leading to data breaches, unauthorized access, or even complete takeover of your application and data. If you’re using an affected version, you could be sitting on a powder keg just waiting for a spark!

Put simply

Think of it like a restaurant where the chef follows any handwritten order without verifying it. An attacker could send a fake order that instructs the kitchen to cook up malicious code instead of a delicious meal. This deserialization flaw in ThinkPHP allows attackers to send specially crafted input that the application blindly executes as code, creating a pathway for remote code execution.

What to do

The consequences of this vulnerability are absolutely devastating. An attacker could waltz right in and execute any code on your server, potentially leading to data breaches, unauthorized access, or even complete takeover of your application and data. If you’re using an affected version, you could be sitting on a powder keg just waiting for a spark! Immediately patch your ThinkPHP installation to version 8.0.5 or later. Review your code to ensure no insecure deserialization is occurring elsewhere. Implement input validation to prevent future risks. Don't wait — secure your application now! You’ve got this! Take these steps, and you’ll have your application secured in no time! 🛡️

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.00885 · 58.9th percentile
Published
2024-10-30T00:00Z
EPSS history
Timeline
  • 30 OCT 00:00Z
    A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code
    cvelistv5