🛡️ CVE-2023-25330 — mybatis

🔴 CVSS 9.8 — Critical ✅ No Known Exploit CWE-89 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

A SQL injection vulnerability in Mybatis plus below 3.5.3.1 allows remote attackers to execute arbitrary SQL commands via the tenant ID valuer. NOTE: the vendor's position is that this can only occur in a misconfigured application; the documentation discusses how to develop applications that avoid SQL injection.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2023-25330 is classified as CWE-89: SQL Injection. Untrusted input is concatenated into an SQL statement, letting an attacker change the query and reach data the request should not return.

Affected software

CVE-2023-25330 is recorded against 2 packages.

  • com.baomidou:mybatis-plus (fixed in 3.5.3.1)
  • mybatis (fixed in 3.5.3.1)

Timeline and source

Published on 5 April 2023 and last revised on 3 June 2024. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
baomidou.com (Web)
github.com (Web)
github.com (Package)

Details

Severity CRITICAL
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-89
Public Exploit ✅ No
Source NVD
Published 2023-04-05
Updated 2026-08-12
Modified 2024-06-03
Fix URL N/A

Affected Packages

Software From version Fixed in
com.baomidou:mybatis-plus 3.5.3.1
mybatis 3.5.3.1

Exploit Protection

Are you running mybatis?

CVE-2023-25330 carries CVSS 9.8 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2023-25330 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.