CVE Vulnerabilities

CVE-2023-26267

Improper Restriction of XML External Entity Reference

Published: Feb 21, 2023 | Modified: Mar 14, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

php-saml-sp before 1.1.1 and 2.x before 2.1.1 allows reading arbitrary files as the webserver user because resolving XML external entities was silently enabled via LIBXML_DTDLOAD | LIBXML_DTDATTR.

Weakness

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.

Affected Software

Name Vendor Start Version End Version
Php-saml-sp Php-saml-sp_project * 1.1.1 (excluding)
Php-saml-sp Php-saml-sp_project 2.0.0 (including) 2.1.1 (excluding)

Potential Mitigations

References