CVE-2023-25330
Mybatis vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mybatis. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mybatis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md · Exploit
- baomidou.com/reference/about-cve/
- nvd.nist.gov/vuln/detail/CVE-2023-25330
- baomidou.com/reference/about-cve
- github.com/advisories/GHSA-32qq-m9fh-f74w
- nvd.nist.gov/vuln/detail/CVE-2023-25330
- cve.org/CVERecord?id=CVE-2023-25330
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.