CVE-2021-45466 Missing authorization in n/a
Attackers can bypass authorization to add SSH keys via a crafted API request, leading to unauthorized access and potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-45466?
CVE-2021-45466 is a critical missing authorization vulnerability in Control-Webpanel Webpanel, published on 26 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 authorized_keys text file in the /resources/ folder.
Weakness: CWE-863
Which versions are affected by CVE-2021-45466?
It affects 1 product.
Products include Control-Webpanel Webpanel.
How do I fix CVE-2021-45466?
No fix has been published for CVE-2021-45466 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-45466 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-45466 exists.
Other vulnerabilities in Control-Webpanel Webpanel
Sources
Also known as GHSA-cmwh-95wf-h584.