Auth bypass in Alibaba Nacos

CVE-2021-29442

Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos before version 1.4.1, the ConfigOpsController lets the user perform management operations like querying the database or even wiping it out. While the /data/remove endpoint is properly protected with the @Secured annotation, the /derby endpoint is not protected and can be openly accessed by unauthenticated users. These endpoints are only valid when using embedded storage (derby DB) so this issue should not affect those installations using external storage (e.g. mysql)

Vulnerability class: Broken Authentication

EPSS: 0.666 (99.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-29442?
CVE-2021-29442 is a high-severity vulnerability in Alibaba Nacos, classified under Missing Authentication for Critical Function. CVSS score: 8.6/10. Published 2021-04-27.
How severe is CVE-2021-29442?
High severity. CVSS v3 base score is 8.6 out of 10.
Is CVE-2021-29442 known to be exploited?
13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.