40

When I was reading a page on Wikipedia several months ago (December 2014) I saw what looked like a pop-up window from BT, but I soon realized that when I closed the page the pop-up disappeared. I then opened Firebug and inspected the box and saw that it was actually part of the webpage itself and that clicking its confirmation button would take me somewhere I didn't want to go. It was very cleverly disguised to look real.

I've never before seen anything like this. Is this the only case or has this been known to happen? I've provided a screenshot to show what it looked like:

A screenshot I took at the time.

12

4 Answers 4

44

Assuming that you are coming from a BT connection, it's possible that this is part of the BT parental controls program.

There is a discussion of a similar looking pop-up here , which seems to tie into what you're seeing, and also a thread here on the BT site which has a link to a process to turn off that setting.

To test this theory you could log into your account and opt-out of parental controls. I wouldn't advice doing it from any link presented in the pop-up in case it is malicious though.

Once you've done that try accessing the same page to see if the issue re-occurs.

Another way to test it would be to access the site over HTTPS as then they shouldn't be able to inject any content unless they've installed a trusted root certificate in your browser, for which you would have needed to install BT software on the affected system.

As to your original questions about criminals injecting content into legitimate websites, this is a common vector of attack, either via compromise of the website (e.g. through exploitation of outdated software) or via content injected into the site such as adverts (this is common enough to have its own Wikipedia definition "malvertising")

As to whether it could happen to Wikipedia, I'm not aware of that occuring and with Wikipedia being such a well trafficked site, I'd expect it to be a large target.

10
  • 18
    @begueradj that and I know that BT have a reputation for this kind of behaviour :) Commented Aug 13, 2015 at 18:00
  • 4
    @Alex: well, if BT believe that it will cause people to install software, who are criminals to disagree? ;-) Commented Aug 13, 2015 at 19:55
  • 4
    BT definitely inject stuff into http until you make a decision on this. But when you tell them to get lost (even if you want parental censorship tools theirs are rubbish and you have little control over them) it goes away for good. In the mean time installing https everywhere from the EFF will suppress the message on many sites, while protecting your data in transit.
    – Chris H
    Commented Aug 14, 2015 at 9:11
  • 6
    @ChrisH it certainly does not go away for good. I've had this popup come back 4 or 5 times over the last year (and not go away till you remake the choice). It breaks non interactive html fetches. This kind of meddling with people's data is completely unacceptable and technically illegal. Then uk.gov wonder why everyone is turning on encryption.
    – JamesRyan
    Commented Aug 14, 2015 at 11:40
  • 2
    A bit off-topic but If you're looking for an ISP in the UK that doesn't get up to this kind of nonsense, I'd recommend Andrews and Arnold (I have no affiliation with them beyond being a satisfied customer), they're not necessarily the cheapest but good service and none of this kind of thing. Commented Aug 14, 2015 at 12:26
12

Wikipedia and big popular sites are mostly safe, as any security holes are found quickly, usually long before the site gets its momentum.

Smaller blogs/forums which allow user content are more vulnerable. I used to visit a Russian tech blog several years ago, and the posting form allowed some HTML formatting. Someone managed to include JavaScript code from the upvote button into the post (so that everyone opening the post would automatically upvote it) and posted a Black Overlord picture on the main page. The following day the blog was fixed with improved post sanitizing, but hundreds of people have executed the malicious JavaScript code before that happened. Replace the upvote code with an XSS script which steals passwords, and you will see how dangerous it could have been.

If you're forced to use an HTTP proxy to access the web, your provider or employer may inject scripts in about any page. These are usually not malicious, but it can be quite annoying. Also, if your provider gets hacked, you may be exposed to whatever scripts the hackers put in place.

2

I've never before seen anything like this. Is this the only case or has this been known to happen?

The scenario you experienced could be innocuous as highlighted in @RоryMcCune' answer as well as it can be a nefarious attempt/attack. Let me explain this last scenario.

There is one interesting scenario about your question: as @RоryMcCune said, what you witnessed is quite frequent, so an attacker could impersonate that pop-up. I mean, an attacker who succeed to compromise a given website can craft a pop-up similar to that one since it is widespread and trusted.

This impersonation can be used to perform two purposes:

  1. Clickjacking attacks
  2. Drive-by download attacks

The worst aspect of this negative scenario is that drive-by download attacks consist in downloading without your consent a malware (even if spywares and malwares are more used with this method) on your machine/phone. There are two ways this could be triggered: without any interaction, I mean by just visiting a a website, or by requiring the user's interaction via, for instance, clicking to confirm, cancel or exit a pop-up message (as in your case). These attacks exploit vulnerabilities of browsers you use or their plugins.

Did drive-by download attacks happen on some famous websites as you asked? Yes. Let me mention one good example: on 2011, an attack exploited the Java browser plugin to infect thousands of victims who visited Amnesty International's homepage in UK.

Your scenario could also be a clickjacking attack in which the victim is tricked to click on some online content that is intended either for advertisement or, in worst case, to steal sensible/private information from you or even compromise your machine using the drive-by download attack as a complement method. Such attacks target social networks such as Facebook, Twitter (and this is frequent).

2

A mature wiki software like Wikimedia usually does not allow normal users to embed any scripts in wiki articles.

But still, wikis are prime targets for search engine spammers. The structure of wikis is very search-engine friendly which means that wikis often get quite a lot of page rank which in turn exends to any websites linked from them. Also, anything posted to them will live forever in the edit history of the page, even when reverted... if it even gets reverted - there are countless dead wikis on the web which were created, got filled with lots of useful and relevant content, were linked by all kinds of 3rd party websites, got indexed by search engines and were then forgotten by users and admins but never taken offline. Such wikis make great link farms.

As a result any wiki with just a bit of exposure will soon be haunted by bots which post spam to the wiki, either in form of new articles or in form of adding irrelevant links to existing articles.

People who have no ethical problems with using this form of destructive black-hat SEO often have no qualms about spreading malware either, so the websites they try to promote can often be unsafe to visit.

Bottom line: Browsing a spambot-infested wiki is usually safe (though not necessarily useful), but blindly following any offsite links from a wiki is not.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .