Rapid7 Vulnerability & Exploit Database

PHP 'wordwrap()' Function Buffer Overflow 2

Back to Search

PHP 'wordwrap()' Function Buffer Overflow 2

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
04/24/2006
Created
07/25/2018
Added
06/05/2006
Modified
02/21/2017

Description

Integer overflow in the wordwrap function in string.c in PHP 4.4.2 and 5.1.2 might allow context-dependent attackers to execute arbitrary code via certain long arguments that cause a small buffer to be allocated, which triggers a heap-based buffer overflow in a memcpy function call, a different vulnerability than CVE-2002-1396.

Solution(s)

  • php-upgrade-4_4_3
  • php-upgrade-5_1_3

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;