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/alibaba/nacos/issues/4463
https://github.com/alibaba/nacos/pull/4517
https://github.com/advisories/GHSA-36hp-jr8h-556f
Related Vulnerabilities
CVE-2023-42268 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-base-core
CVE-2020-9480 Vulnerability in maven package org.apache.spark:spark-network-common_2.12
CVE-2020-28472 Vulnerability in npm package @aws-sdk/shared-ini-file-loader
CVE-2023-49398 Vulnerability in maven package com.jfinal:jfinal
CVE-2021-21234 Vulnerability in maven package eu.hinsch:spring-boot-actuator-logview