CVE-2024-21651: XWiki Denial of Service attack through attachments

Published Jan 8, 2024
·
Updated

Impact

A user able to attach a file to a page can post a malformed TAR file by manipulating file modification times headers, which when parsed by Tika, could cause a denial of service issue via CPU consumption.

Patches This vulnerability has been patched in XWiki 14.10.18, 15.5.3 and 15.8 RC1.

Workarounds

The workaround is to download commons-compress 1.24 and replace the one located in XWiki WEB-INF/lib/ folder.

References

https://jira.xwiki.org/browse/XCOMMONS-2796

For more information

If you have any questions or comments about this advisory: Open an issue in Jira XWiki.org Email us at Security Mailing List

Other sources

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A user able to attach a file to a page can post a malformed TAR file by manipulating file modification times headers, which when parsed by Tika, could cause a denial of service issue via CPU consumption. This vulnerability has been patched in XWiki 14.10.18, 15.5.3 and 15.8 RC1.

NVD

Affected Software

6 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-distribution-war>=15.6-rc-1<15.8-rc-1
15.8-rc-1
maven/org.xwiki.platform:xwiki-platform-distribution-war>=15.0-rc-1<15.5.3
15.5.3
maven/org.xwiki.platform:xwiki-platform-distribution-war>=14.10<14.10.18
14.10.18
XWiki xwiki>=14.10<14.10.18
XWiki xwiki>=15.5<15.5.3
XWiki xwiki>=15.6<15.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-distribution-war to a version that resolves this vulnerability.

    Fixed in 15.8-rc-1
  2. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-distribution-war to a version that resolves this vulnerability.

    Fixed in 15.5.3
  3. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-distribution-war to a version that resolves this vulnerability.

    Fixed in 14.10.18
  4. Upgrade

    Upgrade XWiki to a version that resolves this vulnerability.

    Fixed in 14.10.18
  5. Upgrade

    Upgrade XWiki to a version that resolves this vulnerability.

    Fixed in 15.5.3
  6. Upgrade

    Upgrade XWiki to a version that resolves this vulnerability.

    Fixed in 15.8 RC1
  7. Compensating control

    Workaround: download commons-compress 1.24 and replace the commons-compress JAR located in XWiki `WEB-INF/lib/` with commons-compress 1.24.0.

Event History

Jan 8, 2024
Advisory Published
04:39 PM
CVE Published
via MITRE·11:30 PM
Data Sourced
via MITRE·11:30 PM
DescriptionSeverityWeakness
Jan 9, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21651?

CVE-2024-21651 is classified as a denial of service vulnerability due to potential CPU consumption from malformed TAR file processing.

2

How do I fix CVE-2024-21651?

To mitigate CVE-2024-21651, upgrade to XWiki version 14.10.18, 15.5.3, or 15.8-rc-1.

3

Which versions of XWiki are affected by CVE-2024-21651?

CVE-2024-21651 affects XWiki versions between 14.10.0 and 14.10.18, and 15.0-rc-1 to 15.5.3.

4

Does CVE-2024-21651 impact all XWiki installations?

CVE-2024-21651 impacts XWiki installations that allow users to upload and attach files to pages.

5

What type of attack does CVE-2024-21651 enable?

CVE-2024-21651 enables a denial of service attack that could lead to excessive CPU usage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203