Skip to content

GHSA-cj3w-g42v-wcj6 ibexa/fieldtype-richtext allows access to external entities in XML

HighCVSS 7.1
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

Impact

This security advisory resolves a vulnerability in the RichText field type. By entering a maliciously crafted input into the RichText XML, an attacker could perform an attack using XML external entity (XXE) injection, which might be able to read files on the server. To exploit this vulnerability the attacker would need to already have edit permission to content with RichText fields, which typically means Editor role or higher. The fix removes unsafe elements from XML code, while preserving safe elements.

If you have a stored XXE attack in your content drafts, the fix prevents it from extracting data both during editing and preview. However, if such an attack has already been published and the result is stored in the content, it is unfortunately not possible to detect and remove it by automatic means.

Credits

This vulnerability was discovered and reported to Ibexa by Dennis Henke, Thorsten Niephaus, Marat Aytuganov, and Stephan Sekula of Compass Security Deutschland GmbH. We thank them for reporting it responsibly to us.

Patches

Workarounds

  • Exploitation requires edit access to RichText content. If you can trust your editors, and you don't grant edit permission to any externals, you are not at risk in practice.

References

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
ibexa/fieldtype-richtext(Packagist) = v4.6.0; = v4.6.0-beta1; = v4.6.0-beta2; = v4.6.0-beta3 +22 more 4.6.19 Fixed

Affected products

ProductAffected versionsFixed in
ibexa/fieldtype-richtext(Packagist) >= 4.6.0-beta1, < 4.6.19 4.6.19
ibexa/fieldtype-richtext(Packagist) = v4.6.0 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-beta1 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-beta2 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-beta3 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-beta4 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-beta5 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.0-rc1 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.1 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.10 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.11 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.12 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.13 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.14 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.15 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.16 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.17 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.18 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.2 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.3 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.4 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.5 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.6 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.7 No fix listed
ibexa/fieldtype-richtext(Packagist) = v4.6.8 No fix listed
Show 1 more
ProductAffected versionsFixed in
ibexa/fieldtype-richtext(Packagist) = v4.6.9 No fix listed

References