CVE Tools

CVE-2021-29441

Authentication bypass

Published: Apr 27, 2021Updated: Nov 21, 2024 Sources: CVE List NVD GHSA BDUCWE-290

Description

Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos before version 1.4.1, when configured to use authentication (-Dnacos.core.auth.enabled=true) Nacos uses the AuthFilter servlet filter to enforce authentication. This filter has a backdoor that enables Nacos servers to bypass this filter and therefore skip authentication checks. This mechanism relies on the user-agent HTTP header so it can be easily spoofed. This issue may allow any user to carry out any administrative tasks on the Nacos server.

In plain language

AI Act now

CVE-2021-29441 is an authentication bypass in Nacos (before 1.4.1) that lets an attacker perform admin actions without logging in by spoofing a web browser header; if you run Nacos in a way that enables its authentication filter, you should treat this as a serious risk.

Executive summary

Unauthenticated authentication-bypass in Nacos before 1.4.1 via the authentication filter backdoor that skips authentication checks when the attacker spoofs the HTTP user-agent header; NACOS config precondition is `nacos.core.auth.enabled=true`.

If affected, business impact
Full admin takeoverService configuration tamperingDisruption of operationsSensitive data exposure

What to do now

  1. Check whether you use Nacos and whether it’s version 1.4.1 or later.
  2. Verify your Nacos setting: nacos.core.auth.enabled=true (this is the condition under which the bypass applies).
  3. If you are running a Nacos version before 1.4.1, plan an upgrade to Nacos with com.alibaba.nacos:nacos-common fixed at 1.4.1.
  4. Ensure the Nacos service is not exposed to the public internet unless you have a tightly controlled network path.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:CC:HI:NA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:NIntegrity
None
A:NAvailability
None

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

2 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

and 3 more references View all →
3

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2021-29441 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows