Google acts to fix YouTube flaw exploited by hackers

YouTube Initial reports suggested that YouTube had been hit by a virus

Related Stories

YouTube has been forced to fix a flaw allowing hackers to bombard users with fake pop-up messages and redirect them to adult sites.

Hackers placed code in the comments section, under targeted videos, that would run when people watched the clip.

In some cases, a pop-up screen appeared reporting that the Canadian singer, Justin Bieber, had died in a car crash.

Google, which owns YouTube, said that it had fixed the problem "about two hours" after it was discovered.

"We took swift action to fix a cross-site scripting (XSS) vulnerability on youtube.com," a spokesperson said.

"Comments were temporarily hidden by default within an hour, and we released a complete fix for the issue in about two hours.

Nasty attacks

Cross-site scripting (XSS) vulnerabilities are relatively simple attacks that allow hackers to place code into web pages.

In the YouTube incident, hackers used JavaScript code and HTML, both commonly used on web pages.

Security experts said that although in most cases the code was relatively benign, it has been used for more malicious purposes.

"The thing with a cross-site scripting attack is that it will appear that it is a message being posted by that website, which gives it a certain legitimacy, Graham Cluley of security firm Sophos told BBC News.

"It could be used to show a message that tells you to update your password; it could link to a malicious website; or it could attempt to phish you."

Phishing is a common tactic used by cybercriminals and involves using fake websites to lure people into revealing details such as bank accounts or login names.

"I've seen nasty XSS attacks that are used to fake whole login screens and we know how many people use same passwords for multiple accounts," said Bojan Zdrnja of the Internet Storm Centre in a blog post.

Mr Cluley said that responsibility for these kinds of vulnerabilities was down to how securely a website was written.

"Web programmers need to be much more careful with their code."

Google said it was "continuing to study the vulnerability to help prevent similar issues in the future".

When the vulnerability was first reported, rumours suggested that YouTube was infected with a virus.

More on This Story

Related Stories

FROM OTHER NEWS SITES
UPI Google fends off YouTube hackers - 18 hrs ago
Daily Star Bieber targeted by internet pranksters - 20 hrs ago
ZDNet UK YouTube comment parsing error exploited - 22 hrs ago
New StatesmanYouTube fixes hacked comments pages - 28 hrs ago
Techworld.com YouTube hacked, Justin Bieber fans targetted - 31 hrs ago
* May require registration or subscription

The BBC is not responsible for the content of external Internet sites

More Technology stories

RSS

Features

BBC © 2014 The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.