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
- Alibaba Nacos — versions < 1.4.1
Weakness classification (CWE)
Public proof-of-concept exploits
- VictorShem/QVD-2024-26473
- nanaao/cve-2021-29442-Nacos-Derby-rce-exp
- ARPSyndicate/cvemon
- ARPSyndicate/kenzer-templates
- Elsfa7-110/kenzer-templates
- J1ezds/Vulnerability-Wiki-page
- Threekiii/Awesome-POC
- XiaomingX/awesome-poc-for-red-team
- XiaomingX/cve-2021-29442-Nacos-Derby-rce-exp
- afzalbin64/accuknox-policy-temp
References
- security-advisories@github.com (Exploit, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
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.