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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.657 (99.3th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.666 · newest: 0.657 · change: -0.009
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
- github.com/alibaba/nacos/issues/4463 (Exploit, Third Party Advisory)
- github.com/advisories/GHSA-36hp-jr8h-556f (Exploit, Third Party Advisory)
- github.com/alibaba/nacos/pull/4517 (Patch, Third Party Advisory)
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.