Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-21540: Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data. in Oracle Corporation MySQL Server

0
Medium
VulnerabilityCVE-2025-21540cvecve-2025-21540
Published: Tue Jan 21 2025 (01/21/2025, 20:53:12 UTC)
Source: CVE Database V5
Vendor/Project: Oracle Corporation
Product: MySQL Server

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 5.4 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

AI-Powered Analysis

AILast updated: 11/04/2025, 01:14:59 UTC

Technical Analysis

CVE-2025-21540 is a security vulnerability identified in Oracle MySQL Server affecting multiple versions including 8.0.40 and prior, 8.4.3 and prior, and 9.1.0 and prior. The flaw resides in the server's privilege management system (CWE-863), where insufficient authorization checks allow a low privileged attacker with network access to perform unauthorized read and write operations on accessible data. The vulnerability can be exploited remotely over multiple network protocols without requiring user interaction, making it relatively easy to exploit. Successful exploitation can lead to unauthorized data modifications such as insertions, updates, or deletions, as well as unauthorized reading of a subset of data, thereby compromising data confidentiality and integrity. However, the vulnerability does not impact availability. The CVSS 3.1 base score of 5.4 reflects a medium severity level, with the attack vector being network-based, low attack complexity, requiring low privileges, and no user interaction needed. There are currently no known exploits in the wild, but the potential impact on data security is significant. The vulnerability affects a widely used database server product, making it a notable risk for organizations relying on MySQL for critical data storage and processing. The lack of available patches at the time of reporting necessitates immediate attention to mitigation strategies to reduce exposure.

Potential Impact

For European organizations, this vulnerability poses a risk to the confidentiality and integrity of data stored in MySQL databases. Unauthorized read access could lead to data leakage of sensitive information, while unauthorized write access could result in data corruption, loss of data integrity, or manipulation of critical business data. Industries such as finance, healthcare, telecommunications, and government agencies that rely heavily on MySQL for transactional and operational databases could face regulatory compliance issues, reputational damage, and operational disruptions. Since the vulnerability can be exploited remotely with low privileges and no user interaction, attackers could leverage this flaw to escalate privileges or move laterally within networks. The absence of availability impact reduces the risk of denial-of-service, but the data integrity and confidentiality concerns remain significant. The medium severity score indicates that while the threat is not critical, it requires timely mitigation to prevent potential exploitation, especially in environments with exposed MySQL servers or weak network segmentation.

Mitigation Recommendations

1. Apply official Oracle patches immediately once they are released for the affected MySQL versions. 2. Until patches are available, restrict network access to MySQL servers by implementing strict firewall rules and network segmentation to limit exposure only to trusted hosts and applications. 3. Review and enforce the principle of least privilege for MySQL user accounts, ensuring that users and applications have only the minimum necessary permissions. 4. Enable and monitor MySQL audit logs to detect unusual or unauthorized database activities, focusing on unexpected insert, update, or delete operations. 5. Use network-level controls such as VPNs or encrypted tunnels to secure MySQL traffic and reduce the risk of interception or unauthorized access. 6. Regularly update and patch all related infrastructure components to reduce the attack surface. 7. Conduct vulnerability scanning and penetration testing focused on database security to identify and remediate potential weaknesses. 8. Educate database administrators and security teams about this vulnerability and the importance of rapid response to newly disclosed threats.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
oracle
Date Reserved
2024-12-24T23:18:54.773Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69091a4dc28fd46ded81d10b

Added to database: 11/3/2025, 9:10:37 PM

Last enriched: 11/4/2025, 1:14:59 AM

Last updated: 12/17/2025, 5:24:55 AM

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats