PHP: Security issue with external entity loading in XML without enabling it
In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| PHP (Interpreter) | PHP | >= 8.0.0, < 8.0.30 < 8.0.30 |
8.0.30 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- Schwäche (CWE)
CWE-611- Plattform
- PHP
- Paket
PHP- Veröffentlicht
- 05.08.2023
- Aktualisiert
- 03.11.2026 19:17
Quellen und Lizenzen
PHP Security Advisories - GHSA-3qrf-m4j2-pcrr - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseSchwachstellenhistorie: PHP
Alle veröffentlichten Schwachstellen dieses Pakets (PHP (Interpreter)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 78
- Erste → letzte
- 02.2023 11.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 3
Verteilung nach Schweregrad
- Kritisch 11
- Hoch 16
- Mittel 42
- Niedrig 9
Veröffentlichungen pro Jahr
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Security issue with external entity loading in XML without enabling it dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.