همهٔ گزارش‌ها
بحرانی

org.xwiki.platform:xwiki-platform-oldcore makes Incorrect Use of Privileged APIs with DocumentAuthors

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 14.5, < 14.10
نسخهٔ اصلاح‌شده
14.10
نسخه‌های متأثر
>= 14.4.1, < 14.4.7
نسخهٔ اصلاح‌شده
14.4.7

بهره‌برداری

CVE-2023-29507

احتمال بهره‌برداری در ۳۰ روز آینده: 0.90%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

Impact

The Document script API returns directly a DocumentAuthors allowing to set any authors to the document, which in consequence can allow subsequent executions of scripts since this author is used for checking rights. Example of such attack:

{{velocity}}
$doc.setContent('{{velocity}}$xcontext.context.authorReference{{/velocity}}')
$doc.authors.setContentAuthor('xwiki:XWiki.superadmin')
$doc.getRenderedContent()
{{/velocity}}
Patches

The problem has been patched in XWiki 14.10 and 14.4.7 by returning a safe script API.

Workarounds

There no easy workaround apart of upgrading.

References
For more information

If you have any questions or comments about this advisory:

  • Open an issue in Jira

  • Email us at security ML

پیوندها

گزارش‌دهندگان

  • tmortagne