Authentication Bypass

Affecting com.alibaba.nacos:nacos-common artifact, versions [,1.4.1)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

com.alibaba.nacos:nacos-common is a service discovery, configuration and service management platform for building cloud native applications.

Affected versions of this package are vulnerable to Authentication Bypass. 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.

Remediation

Upgrade com.alibaba.nacos:nacos-common to version 1.4.1 or higher.

References

CVSS Score

8.1
high severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
Unknown
CVE
CVE-2021-29441
CWE
CWE-287
Snyk ID
SNYK-JAVA-COMALIBABANACOS-1277194
Disclosed
27 Apr, 2021
Published
28 Apr, 2021