PT-2021-17618 · Oracle · Javax.Xml.Parsers.Documentbuilderfactory

Philipp Mao

·

Published

2021-04-22

·

Updated

2021-04-27

·

CVE-2021-27736

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: FusionAuth fusionauth-samlv2 versions prior to 0.5.4
Description: The issue allows XXE attacks via a forged AuthnRequest or LogoutRequest because the parseFromBytes function uses javax.xml.parsers.DocumentBuilderFactory unsafely. This can be exploited by sending malicious requests to the affected system.
Recommendations: For FusionAuth fusionauth-samlv2 versions prior to 0.5.4, update to version 0.5.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the parseFromBytes function until a patch is applied. Avoid using the javax.xml.parsers.DocumentBuilderFactory unsafely in the affected API endpoints until the issue is resolved.

Exploit

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-27736

Affected Products

Javax.Xml.Parsers.Documentbuilderfactory