CVE-2021-3797 Use of Wrong Operator in String Comparison in hestiacp/hestiacp
An attacker can bypass authentication in HestiaCP due to incorrect string comparison logic, potentially gaining unauthorized access.
- 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-3797?
CVE-2021-3797 is a medium-severity authentication bypass vulnerability in hestiacp/hestiacp, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
hestiacp is vulnerable to Use of Wrong Operator in String Comparison
Weakness: CWE-597
Which versions are affected by CVE-2021-3797?
It affects 1 product.
Products include Hestiacp Control Panel.
How do I fix CVE-2021-3797?
No fix has been published for CVE-2021-3797 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-3797 being exploited?
There is no known exploitation of CVE-2021-3797 in the wild and no public exploit code.
Other vulnerabilities in hestiacp/hestiacp
- CVE-2022-2550 OS Command Injection in hestiacp/hestiacp
- CVE-2022-1509 Command Injection Vulnerability in hestiacp/hestiacp
- CVE-2022-2626 Incorrect Privilege Assignment in hestiacp/hestiacp
- CVE-2023-5839 Privilege Chaining in hestiacp/hestiacp
- CVE-2025-30007 HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
Sources
Also known as GHSA-pmfm-r4ww-m6w9.