CVE-2021-45466

In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, attackers can make a crafted request to api/?api=add_server&DHCP= to add an…

Critical · published December 26, 2022

Patch now

High probability of exploitation

CVSS calls it critical at 9.8. It sits in the 99.0th percentile for exploit probability.

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

🚨 A single crafted request could open the digital floodgates! With CVE-2021-45466, unauthorized attackers can slip an authorized_keys file into the /resources/ folder of CWP — it’s like leaving the door wide open for intruders! 🔥 Think of it like a restaurant kitchen where the chef is so busy they don’t notice someone sneaking in to change the menu — suddenly, everything’s different and potentially dangerous! An attacker could gain unauthorized access to your server, allowing them to run any command they wish. This could lead to data theft, system manipulation, or even total server takeover. It’s an absolutely devastating scenario that could take down your operations!

Put simply

Think of it like a restaurant kitchen where the chef is so busy they don’t notice someone sneaking in to change the menu — suddenly, everything’s different and potentially dangerous! This vulnerability allows attackers to add a malicious authorized_keys file through a crafted API request, effectively granting them SSH access without proper authentication. This means they can execute commands remotely as if they were an authorized user.

What to do

An attacker could gain unauthorized access to your server, allowing them to run any command they wish. This could lead to data theft, system manipulation, or even total server takeover. It’s an absolutely devastating scenario that could take down your operations! Immediately upgrade CWP to version 0.9.8.1107 or later to close this vulnerability. Implement strict input validation on API requests to prevent unauthorized access and regularly audit your access logs for any suspicious activity. You've got this! By taking these steps, you’ll reinforce your defenses and keep the internet safer for everyone! 🛡️

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.55338 · 99.0th percentile
Published
2022-12-26T00:00Z
EPSS history
Timeline
  • 26 DEC 00:00Z
    In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, attackers can make a crafted request to api/?api=add_server&DHCP= to add an…
    cvelistv5