Baja

Solr script service doesn't take dropped programming right into account

  • Publicada: 29.04.2025
  • Actualizado: 11.10.2026 13:20

Impact

The Solr script service that is accessible in XWiki's scripting API normally requires programming right to be called. Due to using the wrong API for checking rights, it doesn't take the fact into account that programming rights might have been dropped by calling $xcontext.dropPermissions(). If some code relies on this for the safety of executing Velocity code with the wrong author context, this could allow a user with script right to either cause a high load by indexing documents or to temporarily remove documents from the search index. We're not aware that this is exploitable in XWiki itself.

To reproduce, a user with programming right can add the following XWiki syntax to a page:

{{velocity}}
$xcontext.dropPermissions()
$services.solr.index('document:xwiki:Main.WebHome')
{{/velocity}}

This should trigger an error in XWiki's log, otherwise the installation is vulnerable.

Patches

This has been patched in XWiki 15.10.13, 16.8.0RC1, and 16.4.4.

Workarounds

We're not aware of any workarounds apart from being careful whom you grant script right.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-search-solr-api >= 4.5.1, < 15.10.13, >= 16.0.0-rc-1, < 16.4.4, >= 16.5.0-rc-1, < 16.8.0-rc-1 15.10.13, 16.4.4, 16.8.0-rc-1

Referencias

Puntuación CVSS 3.8/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
Debilidad (CWE)
CWE-863
Plataforma
Java / Kotlin (Maven)
Paquete
org.xwiki.platform:xwiki-platform-search-solr-api
Publicada
29.04.2025
Actualizado
11.10.2026 13:20

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-987p-r3jc-8c8v - CC BY 4.0

Historial de vulnerabilidades: org.xwiki.platform:xwiki-platform-search-solr-api

Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
3
Primera → última
12.2023 04.2025
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Alta 1
  • Media 1
  • Baja 1

Divulgaciones por año

  1. 2023: 2
  2. 2024: 0
  3. 2025: 1
  4. 2026: 0
  1. Solr script service doesn't take dropped programming right into account esta entrada
    Baja · 3.8 CVE-2025-32971 >= 4.5.1, < 15.10.13, >= 16.0.0-rc-1, < 16.4.4, >= 16.5.0-rc-1, < 16.8.0-rc-1 15.10.13, 16.4.4, 16.8.0-rc-1
  2. Media · 5.3 CVE-2023-50720 < 14.10.15, >= 15.0-rc-1, < 15.5.2, >= 15.6-rc-1, < 15.7-rc-1 14.10.15, 15.5.2, 15.7-rc-1
  3. Alta · 7.5 CVE-2023-50719 >= 7.2-milestone-2, < 14.10.15, >= 15.0-rc-1, < 15.5.2, >= 15.6-rc-1, < 15.7-rc-1 14.10.15, 15.5.2, 15.7-rc-1

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.