Description
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)
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| alibaba | nacos | < 1.4.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
VictorShem/QVD-2024-26473 ★ 3 · Jul 31, 2024
QVD-2024-26473 && CVE-2021-29442
-
nanaao/cve-2021-29442-Nacos-Derby-rce-exp ★ 0 · Nov 25, 2024
Nacos Derby命令执行漏洞利用脚本
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Nacos <1.4.1 - Authentication Bypass http/cves/2021/CVE-2021-29442.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.