Vulnerability Details : CVE-2021-27736
FusionAuth fusionauth-samlv2 before 0.5.4 allows XXE attacks via a forged AuthnRequest or LogoutRequest because parseFromBytes uses javax.xml.parsers.DocumentBuilderFactory unsafely.
Vulnerability category: XML external entity (XXE) injection
Products affected by CVE-2021-27736
- cpe:2.3:a:fusionauth:saml_v2:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-27736
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-27736
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:N |
8.0
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2021-27736
-
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-27736
-
https://github.com/FusionAuth/fusionauth-samlv2/compare/0.5.3...0.5.4
Comparing 0.5.3...0.5.4 · FusionAuth/fusionauth-samlv2 · GitHubPatch;Third Party Advisory
-
https://www.compass-security.com/fileadmin/Research/Advisories/2021-03_CSNC-2021-004_FusionAuth_SAML_Library_XML_External_Entity.txt
Exploit;Third Party Advisory
-
https://github.com/FusionAuth/fusionauth-samlv2/commit/c66fb689d50010662f705d5b585c6388ce555dbd
Refactor utility methods into SAMLTools, add tests. · FusionAuth/fusionauth-samlv2@c66fb68 · GitHubPatch;Third Party Advisory
Jump to