Vulnerability · Published Apr 27, 2021 · Assigned by GitHub_M
CVE-2021-29441Authentication bypass
High 8.6
In plain English
A high-severity authentication bypass by spoofing in nacos from alibaba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 83.2% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.alibaba.nacos:nacos-common | 1.4.1 | GHSA-36hp-jr8h-556f |
| Maven | com.alibaba.nacos:nacos-common | 1.4.1 | GHSA-xv5h-v7jh-p2qh |
Affected products (as reported)
Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/alibaba/nacos/issues/4701 x_refsource_MISC
- https://github.com/advisories/GHSA-36hp-jr8h-556f x_refsource_CONFIRM
- https://github.com/alibaba/nacos/pull/4703 x_refsource_MISC