CVE-2015-8866

ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes…

published May 22, 2016

CVSS
—
EPSS
4%
Percentile
90.9
In the wild
Unconfirmed
What it is

⚠️ A thread's mess is another thread's chaos! The way libxml in PHP handles settings means one thread's changes can sneakily impact others, opening the door to some nasty XML attacks! It's like a restaurant kitchen where one cook can change the recipe for all the dishes just by forgetting to label their tweaks — if they spike the sauce, the entire meal could be ruined! An attacker could exploit these changes to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks, potentially accessing sensitive data or causing denial of service. This could lead to data breaches or system instability, which is absolutely devastating!

Put simply

It's like a restaurant kitchen where one cook can change the recipe for all the dishes just by forgetting to label their tweaks — if they spike the sauce, the entire meal could be ruined! This vulnerability arises from libxml's failure to isolate thread-specific settings for the entity loader, allowing crafted XML documents to exploit this weakness across different threads in PHP applications that use PHP-FPM.

What to do

An attacker could exploit these changes to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks, potentially accessing sensitive data or causing denial of service. This could lead to data breaches or system instability, which is absolutely devastating! Upgrade PHP to version 5.5.22 or higher, or 5.6.6 or higher, to ensure this vulnerability is patched. Additionally, review any configurations related to libxml in your PHP setup to enhance overall security. You're on the right track! By following these steps, you can fortify your applications against this vulnerability and keep your users safe. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04171 · 90.9th percentile
Published
2016-05-22T01:00Z
EPSS history
Timeline
  • 22 MAY 01:00Z
    ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes…
    cvelistv5