CVE-2021-45467 Missing authorization in n/a
Unauthenticated attackers can bypass authorization in CWP to register arbitrary API keys, leading to privilege escalation and account takeover.
- 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-45467?
CVE-2021-45467 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, an unauthenticated attacker can use %00 bytes to cause /user/loader.php to register an arbitrary API key, as demonstrated by a /user/loader.php?api=1&scripts= .%00./.%00./api/account_new_create&acc=guadaapi URI. Any number of %00 instances can be used, e.g., .%00%00%00./.%00%00%00./api/account_new_create could also be used for the scripts parameter.
Weakness: CWE-862
Which versions are affected by CVE-2021-45467?
It affects 1 product.
Products include Control-Webpanel Webpanel.
How do I fix CVE-2021-45467?
No fix has been published for CVE-2021-45467 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-45467 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-45467 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Control-Webpanel Webpanel
Sources
Also known as GHSA-4xcw-rcp3-wq4p.