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)
Remediation
References
https://github.com/advisories/GHSA-36hp-jr8h-556f
https://github.com/alibaba/nacos/issues/4463
https://github.com/alibaba/nacos/pull/4517
Related Vulnerabilities
CVE-2021-44878 Vulnerability in maven package org.pac4j:pac4j-core
CVE-2021-46363 Vulnerability in maven package info.magnolia:magnolia-core
CVE-2021-21316 Vulnerability in npm package less-openui5
CVE-2020-36188 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-37958 Vulnerability in maven package org.jenkins-ci.plugins:sumologic-publisher