CVE-2007-5447

ionCube Loader 6.5 for PHP 5.2.4 - Safe Mode and Function Restriction Bypass via ioncube_read_file

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-5447. PoCs published by shinnai.

AI-analyzed exploit summary This exploit bypasses PHP's safe_mode and disable_functions by leveraging the ionCube Loader extension's ioncube_read_file function to read arbitrary files, demonstrating an information leak vulnerability.

Description

ioncube_loader_win_5.2.dll in the ionCube Loader 6.5 extension for PHP 5.2.4 does not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by reading arbitrary files via the ioncube_read_file function.

Exploits (1)

exploitdb WORKING POC VERIFIED
by shinnai · phplocalwindows
https://www.exploit-db.com/exploits/4517

This exploit bypasses PHP's safe_mode and disable_functions by leveraging the ionCube Loader extension's ioncube_read_file function to read arbitrary files, demonstrating an information leak vulnerability.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: ionCube Loader extension 6.5 (ioncube_loader_win_5.2.dll)
No auth needed
Prerequisites: ionCube Loader extension enabled · PHP 5.2.4 with safe_mode and disable_functions configured
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4517
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/37227
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/41708
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/26024
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27178

Scores

EPSS 0.0458
EPSS Percentile 90.4%

Details

CWE
CWE-264
Status published
Products (2)
ioncube/php_encoder 6.5
php/php 5.2.4
Published Oct 14, 2007
Tracked Since Feb 18, 2026