The Java Popup you Can't Stop
An anonymous reader writes "In his brand new hackademix.net blog, Giorgio Maone, known as the author of the NoScript security extension for Firefox, reveals how popup blockers can be easily circumvented using Java. Worse, popups opened this way are really evil, because they can be sized to cover the whole desktop (the wet dream of any phisher) and cannot be closed by user (the wet dream of any web advertiser).
Impressive demos available, all cross-browser and cross-platform, in the best Java tradition: 'Write once, hack anywhere' "
yes, but who would want their product to become associated with what would quickly become the most annoying ad basis ever invented?
So...did I miss something? But winkey and ctrl alt delete did fine for me. Still, I *am* impressed...it just seemed to be billed as more than it was. Or is the joke on me for clicking the link in the first place? ::runs away to sign up for lifelock::
One last thing: Sometimes I wonder; "Is that someone's signature? Or do they type that at the end of each post?"
I'd really like to see counter methods posted as (special) comments under articles like these. "Links to: How to prevent this". It would be really nice if we could use our mod points to "mark" a comment as a solution that an administrator could then move it to the top. Why the administrator involvement? Simple, to prevent the teams of people who go around and exploit this type of function on Yahoo. This would still allow Slashdot to work off the same random moderator point system it has while keeping some semblance of order. They could play around with how many mod points a comment needs before it can before an admin is notified.
Just a thought.
FF on Ubuntu 7.04 using Sun's Java (1.5 I believe). The Java one works wonderfully(?) not only filling my full dual monitor setup, but preventing me from clearing it using any method I tried, including hitting the hotkey to change Gnome workspaces. The only thing that did work was switching to a virtual console at which point I could kill firefox-bin.
Seriously, name me one "house-hold" name website that uses Java applets anyway. Can't we just have it switched off by default? I like Java as a broad technology, but I'm finding applets increasingly irrelevant - interactive rich sites are being taken over by flash, ajax, and the probably-to-be-mainstream-soon Silverlight/Moonlight.
This isn't a flame....Java on the desktop is awesome and I love it.
*runs to the hills*
throw new NoSignatureException();
1. The bug was filed on 19 JUL (less than 10 days back) and henceforth made public when no "visible" action was seen from Sun, in the interim Sun asked to keep the issue confidential, but it was made public anyways.
I find it hard to justify as I don't know a fix can be done and TESTED on all configurations (especially as wide as Java), in 10 days. Heck, full inhouse teams take *months* to roll out tested windows updates. I won't classify it as responsible disclosure.
2. The functionality is achievable by Javascript through LiveConnect present in Opera and Gecko based (Mozilla) browsers.
Great find, yep. But terribly executed and extremely irresponsible just to gain brownie points for NoScript!
- mritunjai
The whole point of Java was that it was super-sandboxed when running applets and you could enable it for all sites. To prevent phishing, any windows created by a Java applet would have to show 'Warning: Applet window' and a big red border or something like that. I wonder what went wrong to allow this attack, and whether it has been in Java since the beginning (i.e. would work even with Netscape 2.0) or takes advantage of some recently added kewl feature that forgot to do sandboxing properly.
-- Ed Avis ed@membled.com
Iceweasel 2.0.0.6 seems to stop it with the 'Warn me when sites try to install add-ons' option enabled, even if I have Java enabled.
accept no limits but time
To be honest I have no idea why it's not. It's such a blisteringly good idea, it seems ridiculously stupid to not include it in a browser.
I mean, popup blocking is included in the browser, why not NoScript?
It's the user's computer, not the advertiser's; the user should have full control over what goes on.
"Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
That said, I've met many in fields directly relating to computing (CS, Computer Engineering, etc) who were basically computer illiterate. I'd contend they didn't have brains, as they weren't useful for much outside their field from my observations either... (I worked tech support in college, so I was all over campus working on computers.)
I'm running a default 1.5.0_07 build on PPC OS X, with the MRJ plugin for Firefox, and I was watching the Java console when I tried his sample evil popup; I've put the stack trace below, but the gist is that
n (AccessControlContext.java:264)c essController.java:427)y Manager.java:532)6 )
java.security.AccessControlException: access denied (java.awt.AWTPermission setWindowAlwaysOnTop)
it wouldn't let the window be always on top, and indeed it wasn't; I could use my desktop and other apps pretty normally. This isn't the default security policy?
~Jesse
Wed Aug 08 11:57:08 EDT 2007 JEP creating applet FullScreen (http://evil.hackademix.net/fullscreen/classes/)
java.security.AccessControlException: access denied (java.awt.AWTPermission setWindowAlwaysOnTop)
at java.security.AccessControlContext.checkPermissio
at java.security.AccessController.checkPermission(Ac
at java.lang.SecurityManager.checkPermission(Securit
at java.awt.Window.setAlwaysOnTop(Window.java:1358)
at FullScreen.start(FullScreen.java:30)
at sun.applet.AppletPanel.run(AppletPanel.java:418)
at jep.AppletFramePanel.run(AppletFramePanel.java:17
at java.lang.Thread.run(Thread.java:613)
Because FF is designed to be bare-bones and the user adds whatever they want on their own. It's exactly as designed.
Now if the damn thing would stop opening a tab on its own every time it's updated -- that annoys me that an extension designed to stop unwanted stuff from running on your computer forces something to open that you don't want!
I filed a bug report/complaint. Nice to see this guy has time to shove stuff like this through instead of actually fix his software's rude behavior.
i am a soviet space shuttle
Really? You can't determine intent based on the actions the script wants to take? Example: Resizing a window to within reasonable tolerances = Ok. Resizing window full screen = Ask the user if he wants to proceed with WTF action.