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.
Remediation
References
https://github.com/advisories/GHSA-36hp-jr8h-556f
https://github.com/alibaba/nacos/issues/4701
https://github.com/alibaba/nacos/pull/4703
Related Vulnerabilities
CVE-2021-23352 Vulnerability in npm package madge
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-debug-jdk15on
CVE-2022-31192 Vulnerability in maven package org.dspace:dspace-jspui
CVE-2021-25642 Vulnerability in maven package org.apache.hadoop:hadoop-yarn-server-resourcemanager
CVE-2021-37305 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-base