Kritisch

XWiki vulnerable to Code Injection in template provider administration

  • Veröffentlicht: 20.04.2023
  • Aktualisiert: 11.10.2026 11:21

Impact

Any user with edit rights on any document (e.g., the own user profile) can execute code with programming rights, leading to remote code execution by following these steps:

  1. Set the title of any document you can edit (can be the user profile) to
    {{async async="true" cached="false" context="doc.reference"}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}
  1. Use the object editor to add an object of type XWiki.TemplateProviderClass (named "Template Provider Class") to that document.
  2. Go to another document you can view (can be the home page) and append ?sheet=XWiki.AdminTemplatesSheet to the URL.

When the attack is successful, a template with name "Hello from groovy!" is displayed in the list while on fixed systems, the full title should be displayed.

Patches

This vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.1 and 15.0 RC1.

Workarounds

The vulnerability can be fixed by patching the code in the affected XWiki document as shown in the patch.

References

For more information

If you have any questions or comments about this advisory:

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.xwiki.platform.applications:xwiki-application-administration >= 1.35, <= 1.49 keine Korrektur
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-administration >= 3.1-milestone-1 keine Korrektur
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-administration-ui >= 4.2-milestone-1, < 13.10.11, >= 14.0-rc-1, < 14.4.8, >= 14.5, < 14.10.1 13.10.11, 14.4.8, 14.10.1

Verweise

CVSS-Wert 9.9/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Schwäche (CWE)
CWE-74
Plattform
Java / Kotlin (Maven)
Paket
org.xwiki.platform.applications:xwiki-application-administration, org.xwiki.platform:xwiki-platform-administration, org.xwiki.platform:xwiki-platform-administration-ui
Veröffentlicht
20.04.2023
Aktualisiert
11.10.2026 11:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-9j36-3cp4-rh4j - CC BY 4.0

Schwachstellenhistorie: org.xwiki.platform:xwiki-platform-administration-ui

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (11) im Archiv
Einträge insgesamt
11
Erste → letzte
07.2021 12.2024
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 8
  • Hoch 2
  • Mittel 1

Veröffentlichungen pro Jahr

  1. 2021: 1
  2. 2022: 2
  3. 2023: 6
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
Schweregrad:
  1. Kritisch · 9.1 CVE-2024-55879 >= 2.3, < 15.10.9, >= 16.0.0-rc-1, < 16.3.0 15.10.9, 16.3.0
  2. Kritisch · 10.0 CVE-2024-21650 >= 2.2, < 14.10.17, >= 15.0-rc-1, < 15.5.3, >= 15.6-rc-1, < 15.8-rc-1 14.10.17, 15.5.3, 15.8-rc-1
  3. Kritisch · 9.9 CVE-2023-50723 >= 2.3, < 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
  4. Kritisch · 9.6 CVE-2023-50722 >= 2.3, < 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
  5. Kritisch · 10.0 CVE-2023-46731 < 14.10.14, >= 15.0-rc-1, < 15.5.1 14.10.14, 15.5.1
  6. XWiki vulnerable to Code Injection in template provider administration dieser Eintrag
    Kritisch · 9.9 CVE-2023-29514 >= 4.2-milestone-1, < 13.10.11, >= 14.0-rc-1, < 14.4.8, >= 14.5, < 14.10.1 13.10.11, 14.4.8, 14.10.1
  7. Kritisch · 9.9 CVE-2023-29510 >= 4.3-milestone-2, < 14.10.2 14.10.2
  8. Kritisch · 9.9 CVE-2023-29511 >= 1.5M2, < 13.10.11, >= 14.0-rc-1, < 14.4.8, >= 14.5, < 14.10.1 13.10.11, 14.4.8, 14.10.1
  9. Hoch · 7.5 CVE-2021-32732 < 12.10.5, >= 13.0, < 13.2RC1 12.10.5, 13.2RC1
  10. Hoch · 8.8 CVE-2022-23616 >= 3.1-milestone-1, < 13.1RC1 13.1RC1

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.