PHP socket_iovec_alloc() Integer Overflow Vulnerability
BID:7187
Info
PHP socket_iovec_alloc() Integer Overflow Vulnerability
| Bugtraq ID: | 7187 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Mar 25 2003 12:00AM |
| Updated: | Mar 25 2003 12:00AM |
| Credit: | The discovery of this vulnerability is credited to Sir Mordred <[email protected]>. |
| Vulnerable: |
PHP PHP 4.3.1 PHP PHP 4.3 |
| Not Vulnerable: | |
Discussion
PHP socket_iovec_alloc() Integer Overflow Vulnerability
A vulnerability has been reported in PHP versions 4.3.1 and earlier. The problem occurs in the socket_iovec_alloc() and may allow an attacker to corrupt memory. Specifically, the affected function fails to carry out sanity checks on user-supplied argument values, making it prone to an integer overflow.
This may make it possible for an attacker to trigger a denial of service. Although it has not been confirmed, it may also be possible to exploit this issue to execute arbitrary code.
It should be noted that socket functionality is only included in PHP if compiled with the "--enable-sockets" option.
A vulnerability has been reported in PHP versions 4.3.1 and earlier. The problem occurs in the socket_iovec_alloc() and may allow an attacker to corrupt memory. Specifically, the affected function fails to carry out sanity checks on user-supplied argument values, making it prone to an integer overflow.
This may make it possible for an attacker to trigger a denial of service. Although it has not been confirmed, it may also be possible to exploit this issue to execute arbitrary code.
It should be noted that socket functionality is only included in PHP if compiled with the "--enable-sockets" option.
Solution / Fix
PHP socket_iovec_alloc() Integer Overflow Vulnerability
Solution:
It has been reported that this issue is being addressed in PHP 4.3.2 however, this has not been confirmed.
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
It has been reported that this issue is being addressed in PHP 4.3.2 however, this has not been confirmed.
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.