llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Maven · org.xwiki.platform:xwiki-platform-rest-server

GHSA-JMMC-WJPC-PG34

XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versiones16.10.18 · 17.10.5 · 18.2.0
Exposición9 hDesde la divulgación, 19 nov 2026, 3:44 p. m.
Detección21 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
03:44 p. m.
04:00 p. m.
12:50 a. m.
03:44 p. m.
06:01 p. m.
08:17 p. m.
10:33 p. m.
12:50 a. m.
FechaFaseEventoDetalle
Divulgación Publicada GHSA-JMMC-WJPC-PG34 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Impact
The query REST API allows executing HQL queries to filter the listed pages. While this properly checks access rights for the current user, the query can be used to combine when clauses and blind queries, to recover values, through FROM clause injection to join BaseObject and StringProperty tables, bypassing the HQL validator's SELECT column whitelist. This allows recovering any data that is stored in the database, including data from inaccessible pages, password hashes and passwords stored in configuration properties. For a typical password hash, this requires about 800 requests to the REST API (about one per bit). It should be assumed that when using more complex techniques, this even works when the attacker cannot read any wiki page. Password hashes use salted SHA1 in XWiki which can be cracked offline for weak passwords. Further, the executed database queries could be slow, affecting the availability of the system.

### Patches
The vulnerability has been fixed in XWiki 16.10.18, 17.10.5 and 18.2.0 by disabling the HQL and WXQL queries in the REST API by default.

### Workarounds
The requests to the `/rest/wikis/{wikiName}/query` endpoint could be blocked at the web server/reverse proxy level.

Versiones

Rangos afectados

Afectada Corregida
org.xwiki.platform:xwiki-platform-rest-server≥ 4.3-milestone-1 < 16.10.18
org.xwiki.platform:xwiki-platform-rest-server≥ 17.0.0-rc-1 < 17.10.5
org.xwiki.platform:xwiki-platform-rest-server≥ 18.0.0-rc-1 < 18.2.0
4.3-milestone-1
16.10.18
17.0.0-rc-1
17.10.5
18.0.0-rc-1
18.2.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Mavenorg.xwiki.platform:xwiki-platform-rest-server
Corregida 16.10.18, 17.10.5, 18.2.0 — —
Versiones corregidas16.10.1817.10.518.2.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-61689
Otrahttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jmmc-wjpc-pg34
Otrahttps://github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3
Otrahttps://github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354c
Otrahttps://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462
Otrahttps://github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52
Otrahttps://github.com/xwiki/xwiki-platform
Otrahttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18
Otrahttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5
Otrahttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0
Otrahttps://jira.xwiki.org/browse/XWIKI-24061

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.