McAfee Sites Vulnerable To XSS Attack
An anonymous reader notes that this weekend, ReadWriteWeb discovered a security hole on several McAfee sites, which lets any attacker piggyback on the company's reputation and brand in order to distribute malware, Trojans, or anything else. The submitter adds an ironic coda to McAfee's epic fail: "In the 'how to HTML Injection' section, the author provided the four steps needed to execute a simple, no-brainer injection, but unfortunately, exposed a hole in NY Times website when they republished the article. While the author changed the offending text to an image, the Times is still using the original story which redirects directly to ReadWriteWeb [via XSS]." From the RWW post: "During tests this weekend, we discovered the company who claims to 'keep you safe from identity theft, credit card fraud...' has several cross-site scripting vulnerabilities and provides the bad guys with a brilliant — albeit ironic — launching pad from which to unleash their attacks."
Horribly.
Yikes. I wonder if any of my code has that vulnerability. I don't think so. I try to make sure I run all user-submitted text through something to escape those kinds of characters before sending it back to the browser as HTML, but it's possible I could have missed something somewhere. The only time I don't do this is if the user-submitted input is first passed through an input validator that should reject anything containing dangerous characters (for example, a valid e-mail address cannot contain HTML tags, so if I reject all but a valid e-mail address, then I don't need to sanitize the e-mail address). But how can I be sure I haven't missed anything somewhere?
The only way I could be sure is if I did a thorough audit of all my web site code, and I really don't want to go through that hassle. It's probably fine. I've never had an XSS attack used successfully against any site I've built. Certainly not one that was using SSL. So let's just assume that this trend will continue!
Right?
$x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
$x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
Either they don't use McAfee secure ( http://www.mcafeesecure.com/us/ Probably the right website, who knows really ), or their own dog food is garbage.
Either way it is bad gaffe. XSS is pretty well known in security circles. And this mistake is a relatively simple one (output validation or output filtering? please. After you read the linked article, you'll be even more sad they didn't catch this.
http://www.nytimes.com/external/readwriteweb/2009/05/04/04readwriteweb-mcafee-enabling-malware-distribution-and-fr-12208.html
executes the code and redirects to readwriteweb.com
Sure, I can use this to inject code into the html that is then processed by my webbrowser. But how I can use this type of XSS to distribute anything? The worst thing I can do is still only happening on my pc.
These days you can't fit the application and latest superdat onto a 128mb stick - and when I tell you that the application in only 20mb in size, you'll realise what a change this is. Their updates been spiralling out of control for two years. Now, some may argue that there's a lot more malware out there now, and I won't disagree. But I will say this: McAfee hasn't been getting significantly better as far as I can tell, and none of the other major players seem to have experienced this definitions file explosion, ergo McAfee is doing something wrong.
Furthermore, their version 8 enterprise has one of the worst failures I've ever seen for a virus scanner, which is hilariously related to the above. The application no longer knows how to handle its own virus defintions catalog: I'm not sure whether that's the sheer size, or the number of entries, but either way the update fails because of it. But get this: it says that the update has succeeded!
Can you imagine a more epic fail for a virus scanner than saying it's up to date, but being wrong? Neither could I, till I read the news today.
So long McAfee, I hope you enjoyed your time with the big players.
It's more likely than you think.
It's a web page exploit, wtf does it have to do with Windows ?
Redirects work in all browsers, and while I can't speak for Firefox, at least MSIE 8 will warn you of a possible cross domain phishing attempt.
McAfee also make products for Linux and Apple you know.
Just another anti-ms troll who can't wait to make his mark on /.
Winslows is teh suxxors !!!
that *this* isn't a virus targeted at people who read articles about viruses?
Is it just me or was anyone else surprised that McAfee had any reputation or brand left to piggyback upon? I though McAfee was generally worse than most viruses...
I'll meet you at the intersection of "Should be" and "Reality"
Redirects work in all browsers, and while I can't speak for Firefox, at least MSIE 8 will warn you of a possible cross domain phishing attempt.
Firefox + noscript will block XSS attempts.
"In your webbrowser."
I think you meant "In your web browser as long as you're running Windows. If you're not running Windows you really don't need to care - just have a good laugh instead".
rant:
At my college you aren't allowed on the network if you run windows and don't install Cisco crapware.
This crapware checks for an antivirus, and if you don't have one the school will install one for you.
Guess what they install McAfee 8.5 as their licensed AV software.
McAfee has horrendous trouble updating its definitions, especially when it's used in conjunction with Cisco crapware. Its actual usefulness is a joke, and has anyone ever tried to whitelist a program with it.
So lets pretend that we've just completed writing this code, as opposed to having just completed sabotaging it -Altera
there is a really good post on it here http://www.xssed.com/news/92/XSS_Iframe_injections_and_XMLHTTP_post_request_errors_on_McAfee_sites/ and http://www.xssed.com/archive/domain=mcafee.com shows sites in the past XSSable http://xssed.com/ keeps track of a lot of XSSed sites
finally forced some accountability for big AV company...hope they stagger and sway before falling down. I really hope they go bankrupt, because everyone wants their money back for their product, and this sets a precedent to all other AV companies....stop screwing us!
So, the solution to this is obviously to just install conficker/downadup on your computer. McAfee's site should no longer be available after that.
Actio personalis moritur cum persona. (Dead men don't sue)
I've been trying to sway my boss for months. We're using McCrap. I've been in the malware biz before I turned into a manager type (yeah, the whole three-piece suit and other baggage... don't hurt me please, I'm still one of the good guys), and I know what to expect from McA.
I showed him that page. He looked blank at me and shrugged. He's "pretty sure that others ain't better than that". And "that this could happen to anyone". And that "they should protect us, whether they're secure themselves..." and so on.
It's just SO frustrating to explain a horrible security problem to people who neither understand security nor care about it. Especially when change means expense.
The train of thought is simple. We bought "something" that is supposedly protecting us. So we've done our share, we paid our dues, we did what we could do. Whether we're really protected? Doesn't matter, what matters is we can't be sued for negligance.
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
You have no reason to go to MacAfee pages if you don't use their products or plan to do so. You have no reason to use them if you are not on windows.
The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
I work IT for a college that used to push out McAfee Enterprise to all desktop machines. We
switched our license/subscriptions/contract and pushed out Sophos right now.
McAfee would randomly mysteriously break and be completely unable to update its scanning engine or dat files, and out of THOUSANDS of desktop machines we'd have a bunch of them with definitions from months or years ago. Which ones? Hell if we knew!
Out of this latest Conficker crap imagine our surprise that McAfee simply didn't recognize the USB variant! We verified that Sophos in fact detected Conficker and immediately pushed Sophos to all of the computer labs and instructor stations.
And I still gotta remember back to the silly password-"protected" FTP of NAI/McAfee software.
So basically, McAfee is truly incompetent and I'm glad to see it gone on our computers.
Isn't McAfee already considered to be malware? Perhaps they hate the idea of competition in the malware distribution business.
Friends don't let friends line-dance.
Firefox + noscript will block XSS attempts.
Yes. We know.
Firefox + NoScript will block [INSERT WEBSPLOIT HERE].
NoScript also kinda prevents nearly everything on the web from working as intended, and is not a solution. Please shut up about how much you think it rocks.
Boot Windows, Linux, and ESX over the network for free.
after I spotted a virus that was commonly in the wild and they couldn't identify it in my email 10 years ago. In fact I was very disappointed that McAfee didn't block the damn virus with at least a warning as it was a simple executable file. Norton on the other hand properly identified the virus and warned me about the executable nature of the file. Based on that past experience, I've never trusted McAfee as being worth a damn.
Mod me up/Mod me down: I wont frown as I've no crown
Redirects work in all browsers, and while I can't speak for Firefox, at least MSIE 8 will warn you of a possible cross domain phishing attempt.
Firefox + noscript will block XSS attempts.
It will also conveniently unblock advertisements, overriding adblock plus in order to let you see that advertising content that the developers feel you should see. So much for smug superiority...
Still, what the fuck does this have to do with windows?
4years ago they were vulnerable to sql injection. now its xss surely for more than 1year... There's more for sure
Important update for Adblock Plus users: Version 1.9.2.6 automatically and permanently removes the cotroversial NoScript Development Support Filterset deployed with NoScript 1.9.2.4. I sincerely apologize with ABP users. Even though information about its presence and how to remove it in two clicks was given on the AMO install page, on this site's install page, on the release notes landing page and in the FAQ, not including a prompt asking for explicit permission beforehand from the start has been a very bad omission, and I want all the ABP users who felt betrayed to know how much I'm sorry for that. As a sign of good will and repent, current NoScript 1.9.2.6 completely removes the ABP filterset on startup with no questions asked. Thanks for your patience.
-- Giorgio
Update: More apologies and background facts on author's blog Hackademix.net.
Do you Gentoo!?
Thanks for the info. Sigh. We will now be returning you to your regularly scheduled smug superiority.
This promises to be an interesting bit of crying material for some customers that I'll deal with here.
I get callers using McAfee, and they tend to get infected for some reason or another (I don't care why -- not in my pay grade). Apparently, I should be expecting to hear over the next few days, "Hey, I clicked on a link in my email to upgrade my McAfee, and I think I have a virus. :("
Why?
Because SHEEPLE CLICK ON ANYTHING.
Fortunately, it looks like McAfee has rushed to put some caulk in those holes, so the flow of sheep will be minimal, but still.
One of these days, I am going to flip out. When I flip out, I'll be back in five minutes.
Firefox with noscript plugin certainly does.
"If your parents never had children, chances are you wonât either." -Dick Cavett
That's not an apology, that's a joke, "Even though we did this and we did that and even though it did this and it did that, I want you to know I'm sorry I didn't ask even more".
The relevance is that on Windows security depends on downloading security tools off the web through a web browser where you're vulnerable to any browser exploits and spoofing attacks. Hence the phrase "doomed if you do, doomed if you don't."
On a Linux distro, you usually install software through a package manager that authenticates the package before installing it. Not that you need to add anything to make it secure...
The guy is a coder, not an english major. Read his blog post that is linked to there. It's a legitimate apology even if he's not the best at expressing himself.
Do you Gentoo!?
Continuing to smug, fanboy.
Not a fanboy, just willing to take something at face value if there is no reason not to.
Do you Gentoo!?