Authentication Bypass Affecting com.alibaba.nacos:nacos-common package, versions [,1.4.1)


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 96.6% (100th percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-COMALIBABANACOS-1277194
  • published 28 Apr 2021
  • disclosed 27 Apr 2021
  • credit Unknown

How to fix?

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

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.