CVE-2007-5158

Microsoft Internet Explorer 6.0 - XSS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-5158. PoCs published by Ronald van den Heetkamp.

AI-analyzed exploit summary This exploit leverages a design error in Microsoft Internet Explorer's handling of form fields to disclose arbitrary file contents. It uses JavaScript to manipulate focus between a file input and a textarea, tricking the browser into revealing file paths.

Description

The focus handling for the onkeydown event in Microsoft Internet Explorer 6.0 allows remote attackers to change field focus and copy keystrokes via a certain use of a JavaScript htmlFor attribute, as demonstrated by changing focus from a textarea to a file upload field, a related issue to CVE-2007-3511.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Ronald van den Heetkamp · htmlremotewindows
https://www.exploit-db.com/exploits/30622

This exploit leverages a design error in Microsoft Internet Explorer's handling of form fields to disclose arbitrary file contents. It uses JavaScript to manipulate focus between a file input and a textarea, tricking the browser into revealing file paths.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Internet Explorer (versions affected by CVE-2007-5158)
No auth needed
Prerequisites: Victim must visit a malicious webpage using a vulnerable version of Internet Explorer
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Broken Link vdb-entry x_refsource_osvdb
http://osvdb.org/41382
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36848
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25836
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27007
Not Applicable x_refsource_misc
http://www.0x000000.com/index.php?i=437

Scores

EPSS 0.1501
EPSS Percentile 96.3%

Details

Status published
Products (1)
microsoft/internet_explorer 6.0
Published Oct 01, 2007
Tracked Since Feb 18, 2026