Lucene search

K
redhatcveRedhat.comRH:CVE-2023-3823
HistoryAug 22, 2023 - 5:49 p.m.

CVE-2023-3823

2023-08-2217:49:49
redhat.com
access.redhat.com
14
php
xml
security flaw
remote attack
sensitive data
mitigation
xxe prevention

8.3 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

24.2%

A flaw was found in PHP due to inadequate validation of user-supplied XML input. By leveraging specially crafted XML code, a remote attacker could obtain sensitive information by viewing the contents of arbitrary files on the system or initiating requests to external systems. This issue may allow unauthorized access to sensitive data and the potential for network scanning of internal and external infrastructure.

Mitigation

To avoid XML external entity attacks, either disable external entity loading if it's not necessary for your application or change the default external entity loader by using libxml_set_external_entity_loader. This can be used to suppress the expansion of arbitrary external entities. For PHP versions prior to 8.0, the following should be set when using the default PHP XML parser in order to prevent XXE:

<https://www.php.net/manual/en/function.libxml-set-external-entity-loader.php&gt;