CVE-2021-43116 Use of Hard-coded Credentials in Nacos

High 8.8 Published Updated

Attackers can bypass authentication in Nacos by manipulating login response packets, allowing unauthorized access to the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-43116?

CVE-2021-43116 is a high-severity authentication bypass vulnerability in n/a, published on 5 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An Access Control vulnerability exists in Nacos 2.0.3 in the access prompt page; enter username and password, click on login to capture packets and then change the returned package, which lets a malicious user login.

Weakness: CWE-287

Which versions are affected by CVE-2021-43116?

2 open source packages ship an affected version, including com.alibaba.nacos:nacos-client. It affects 1 product.

PackageAffectedFixed in
com.alibaba.nacos:nacos-client MavenAll versions to 2.0.3None
com.alibaba.nacos:nacos-client MavenAll versions to 2.0.3None

Products include Alibaba Nacos.

How do I fix CVE-2021-43116?

No fix has been published for CVE-2021-43116 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-43116 being exploited?

There is no known exploitation of CVE-2021-43116 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-2g86-r6w2-wqqr.

Is CVE-2021-43116 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free