First published: Mon Sep 10 2007(Updated: )
The iconv_substr function in PHP 5.2.4 and earlier allows context-dependent attackers to cause (1) a denial of service (application crash) via a long string in the charset parameter, probably also requiring a long string in the str parameter; or (2) a denial of service (temporary application hang) via a long string in the str parameter. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | <=5.2.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-4783 has a moderate severity level due to its potential to cause a denial of service.
To fix CVE-2007-4783, upgrade PHP to version 5.2.5 or later, which addresses the vulnerability.
CVE-2007-4783 can be exploited to cause application crashes or temporary hangs through the use of long strings in the charset and str parameters.
CVE-2007-4783 affects PHP versions up to and including 5.2.4.
CVE-2007-4783 is primarily a local attack vector, but it can also be exploited by context-dependent attackers remotely.