Sårbarheter

CVE-2025-49581

Høy 8.8 CVSS 3.1

Beskrivelse

XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-06-13
Sist endret
2026-06-17
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.5 % høyere enn 39 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
org.xwiki.platform xwiki-platform-rendering-wikimacro-store (Maven) ≥ 11.10.11 Berørt
org.xwiki.platform xwiki-platform-rendering-wikimacro-store (Maven) ≥ 12.6.3 Berørt
org.xwiki.platform xwiki-platform-rendering-wikimacro-store (Maven) ≥ 12.8-rc-1, < 16.4.7 Berørt
org.xwiki.platform xwiki-platform-rendering-wikimacro-store (Maven) ≥ 16.5.0-rc-1, < 16.10.3 Berørt
org.xwiki.platform xwiki-platform-rendering-wikimacro-store (Maven) ≥ 17.0.0-rc-1, < 17.0.0 Berørt
Xwiki Xwiki 17.0.0 Berørt
Xwiki Xwiki ≥ 11.10.11, < 12.0 Berørt
Xwiki Xwiki ≥ 12.6.3, < 12.7 Berørt
Xwiki Xwiki ≥ 12.8, < 16.4.7 Berørt
Xwiki Xwiki ≥ 16.5.0, < 16.10.3 Berørt

Svakhetstype

  • CWE-250: Execution with Unnecessary Privileges

    The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.

  • CWE-270: Privilege Context Switching Error

    The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.

  • CWE-94: Improper Control of Generation of Code

    The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…

Angrepsteknikker

Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.

  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1055.003: Thread Execution Hijacking stealth, privilege-escalation
  • T1564.009: Resource Forking stealth
  • T1574.005: Executable Installer File Permissions Weakness stealth, execution
  • T1574.010: Services File Permissions Weakness stealth, execution

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter