CVE-2011-3379
Description
PHP 5.3.7 and 5.3.8 is_a() function triggers autoloader, enabling remote code execution via crafted URLs when combined with unsafe autoloaders.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
PHP 5.3.7 and 5.3.8 is_a() function triggers autoloader, enabling remote code execution via crafted URLs when combined with unsafe autoloaders.
Vulnerability
The is_a() function in PHP 5.3.7 and 5.3.8 incorrectly triggers the __autoload() function when the first argument is not an object [1]. This behavior deviates from previous versions and can be exploited when combined with custom autoloaders or PEAR packages that rely on is_a() for type checking [3].
Exploitation
An attacker can provide a crafted URL as the first argument to is_a() (e.g., through a user-supplied variable). If the application uses an __autoload() function that includes remote files or performs unsafe operations based on the class name, the attacker can trigger inclusion of a remote file, leading to code execution [2][3]. No authentication is required; the vulnerability is accessible via web input that reaches the is_a() call.
Impact
Successful exploitation allows remote attackers to execute arbitrary PHP code on the server, potentially gaining full control of the affected system. The impact is high, with complete compromise of confidentiality, integrity, and availability.
Mitigation
The issue is fixed in PHP 5.3.9 [2]. Users should upgrade to PHP 5.3.9 or later. As a workaround, avoid using is_a() with non-object arguments, or ensure autoloaders do not execute remote includes. Patches are available for PHP 5.4 and HEAD [1].
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
6- osv-coords3 versionspkg:rpm/opensuse/php5&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/php7&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/php8&distro=openSUSE%20Tumbleweed
< 5.6.28-1.1+ 2 more
- (no CPE)range: < 5.6.28-1.1
- (no CPE)range: < 7.0.14-1.4
- (no CPE)range: < 8.0.11-1.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- svn.php.net/viewvc/nvdPatch
- bugzilla.redhat.com/show_bug.cginvdPatch
- www.byte.nl/blog/2011/09/23/security-bug-in-is_a-function-in-php-5-3-7-5-3-8/nvdExploit
- bugs.php.net/bug.phpnvdExploit
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jspnvd
- securityreason.com/securityalert/8525nvd
- www.securityfocus.com/archive/1/519770/30/0/threadednvd
News mentions
0No linked articles in our index yet.