Vulnerabilidad en el parámetro orderBy en MyBatis PageHelper (CVE-2022-28111)
Gravedad CVSS v3.1:
CRÍTICA
Tipo:
CWE-89
Neutralización incorrecta de elementos especiales usados en un comando SQL (Inyección SQL)
Fecha de publicación:
04/05/2022
Última modificación:
12/12/2022
Descripción
Se ha descubierto que MyBatis PageHelper v1.x.x-v3.7.0 v4.0.0-v5.0.0,v5.1.0-v5.3.0 contiene una vulnerabilidad de inyección SQL a través del parámetro orderBy
Impacto
Puntuación base 3.x
9.80
Gravedad 3.x
CRÍTICA
Puntuación base 2.0
7.50
Gravedad 2.0
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* | 1.0 (incluyendo) | 3.7.0 (incluyendo) |
| cpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* | 4.0.0 (incluyendo) | 5.0.0 (incluyendo) |
| cpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* | 5.1.0 (incluyendo) | 5.3.0 (incluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://github.com/pagehelper/Mybatis-PageHelper
- https://github.com/pagehelper/Mybatis-PageHelper.git
- https://github.com/pagehelper/Mybatis-PageHelper/issues/674
- https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md
- https://pagehelper.github.io/
- https://www.cnblogs.com/secload/articles/16061420.html



