TITLE: PHP "wordwrap()" Buffer Overflow Vulnerability SECUNIA ADVISORY ID: SA19803 VERIFY ADVISORY: http://secunia.com/advisories/19803/ CRITICAL: Less critical IMPACT: System access WHERE: >From remote SOFTWARE: PHP 5.1.x http://secunia.com/product/6796/ PHP 5.0.x http://secunia.com/product/3919/ PHP 4.4.x http://secunia.com/product/5768/ PHP 4.3.x http://secunia.com/product/922/ DESCRIPTION: Leon Juranic has discovered a vulnerability in PHP, which potentially can be exploited by malicious people to compromise a vulnerable system. The vulnerability is caused due to a boundary error in the PHP "wordwrap()" function. This can be exploited to cause a heap-based buffer overflow via overly long strings passed to the function. The vulnerability has been confirmed in version 5.1.2 and also reported in version 4.4.2. Other versions may also be affected. SOLUTION: Ensure that PHP scripts do not call the "wordwrap()" PHP function with input originating from untrusted sources. PROVIDED AND/OR DISCOVERED BY: Leon Juranic ORIGINAL ADVISORY: http://www.infigo.hr/hr/in_focus/advisories/INFIGO-2006-04-02 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------