Description
Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.
Remediation
References
Related Vulnerabilities
WordPress Plugin AP Companion includes Backdoor [Only if downloaded via the vendor website] (1.0.6)
WordPress Plugin Templatic Tevolution Arbitrary File Upload (2.3.6)
WordPress Plugin MasterStudy LMS-for Online Courses and Education Information Disclosure (3.2.10)
IBM RTC Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2017-1753)