CVE-2025-58337 in Doris-MCP-Serverinfo

Summary

by MITRE • 11/05/2025

An attacker with a valid read-only account can bypass Doris MCP Server’s read-only mode due to improper access control, allowing modifications that should have been prevented by read-only restrictions.


Impact:

Bypasses read-only mode; attackers with read-only access may perform unauthorized modifications.




Recommended action for operators: Upgrade to version 0.6.0 as soon as possible (this release contains the fix).

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/08/2025

The vulnerability identified as CVE-2025-58337 represents a critical access control flaw within the Doris MCP Server implementation that fundamentally undermines the system's security posture. This issue manifests as an improper access control mechanism that fails to properly enforce read-only restrictions, creating a pathway for malicious actors to circumvent intended security boundaries. The vulnerability specifically targets the server's authorization framework, where the system incorrectly permits read-only users to execute operations that should be strictly limited to read access. Such a flaw directly violates fundamental security principles and demonstrates a failure in the principle of least privilege enforcement. The affected component operates within the broader context of database management systems where access control mechanisms are paramount to maintaining data integrity and preventing unauthorized modifications.

The technical root cause of this vulnerability stems from inadequate validation of user permissions within the MCP Server's access control layer. When a user authenticates with read-only credentials, the system should enforce strict limitations on write operations, yet the current implementation fails to properly validate or enforce these restrictions. This allows authenticated users to escalate their privileges through method calls or API endpoints that bypass the normal read-only enforcement mechanisms. The flaw essentially creates a backdoor where read-only users can execute modification operations by exploiting gaps in permission checking logic. According to CWE classification, this vulnerability maps to CWE-285: Improper Authorization, which specifically addresses situations where systems fail to properly enforce access control restrictions. The vulnerability operates at the application level and represents a failure in the authorization framework that should have been implemented at the server-side validation layer.

The operational impact of this vulnerability extends far beyond simple privilege escalation, as it fundamentally compromises the integrity of the entire database system. An attacker with read-only access can now perform unauthorized modifications to database structures, data contents, or configuration settings that should remain protected from read-only users. This creates potential for data corruption, information disclosure, and system compromise that can cascade through dependent applications and services. The vulnerability essentially renders the read-only protection mechanism ineffective, allowing malicious actors to undermine the security controls that were specifically implemented to prevent unauthorized changes. From an attacker's perspective, this represents a low-effort, high-impact vector that can be exploited without requiring additional privileges or complex attack chains. The vulnerability aligns with ATT&CK technique T1078.004: Valid Accounts - Cloud Accounts, where attackers leverage legitimate access to escalate privileges and perform unauthorized actions within systems. The potential for damage increases significantly when considering that read-only accounts are typically granted to users who require monitoring capabilities but not modification rights.

Organizations utilizing Doris MCP Server must take immediate action to address this vulnerability through the recommended upgrade to version 0.6.0, which contains the necessary patches to resolve the access control flaw. The upgrade process should be prioritized as a critical security measure, with comprehensive testing performed to ensure that the fix does not introduce compatibility issues or regressions in existing functionality. System administrators should also conduct thorough audits of existing read-only accounts to identify any potential exploitation that may have already occurred. The security implications of this vulnerability extend to compliance requirements, as organizations may need to demonstrate proper remediation of access control weaknesses. Additionally, network monitoring should be enhanced to detect any suspicious activities that might indicate exploitation attempts. The vulnerability serves as a reminder of the critical importance of regular security updates and the potential consequences of delayed patch management. Organizations should implement automated patch management processes to prevent similar issues from arising in other system components, particularly those handling sensitive data access controls and authorization mechanisms.

Disclosure

11/05/2025

Moderation

accepted

CPE

ready

EPSS

0.00142

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!