Barclays Bank appeared to be using the Wayback Machine as a ‘CDN’ for some Javascript

Barclays Bank appears to have been using no less than the Internet Archive‘s Wayback Machine as a “content distribution network” to serve up a Javascript file.

The bizarre discovery was made by Twitter user @immunda, who discovered on Thursday that the British financial institute was calling JS from the Internet Archive.

Tweet @Barclays

Click to enlarge

Shortly after an abortive tussle with Barclays’ automated Twitter DM chatbot, he declared that he had got through to a human who had promised to fix the alarming howler.

The howler in question appeared, on The Register‘s inspection, to be pulling a file from this URL on the Internet Archive:

If went down, it would presumably break Barclays’ website as well. Worse, if someone managed to change the JS file at that URL, they could inject … well, whatever they liked.

JS is a favourite attack vector of, among other things, the Magecart financial creds-stealing gang.

Professor Alan Woodward of the University of Surrey told The Register: “It’s just the sort of thing that a Magecart attack would thrive on. At the end of the day, it is the organisation who integrates all of these assets, including those drawn in from other sites, to ensure that they have a secure site, and that can only ever be true if you know what your site comprises.”

He continued: “Who would use the Internet Archive to draw in an important asset like a Javascript file, or any file for that matter?”

The professor pointed us to a Twitter thread by infosec researcher Scott Helme, who went down the rabbit hole to try to figure out why Barclays was doing such an obviously stupid thing.

We’ve asked Helme for his non-280-character thoughts on his findings.

The practice is not unheard of, though as some have pointed out, it is a very bad idea and the nonprofit is not set up to support it.

Jake Moore of infosec biz Eset mused that it may have been a test of some kind gone badly wrong, adding: “Although no excuse, it is yet another reminder why testing is a full and thorough process especially when dealing with a financial institution.”

We have asked Barclays for its explanation and it would only say: “We take our responsibility to protect our customers’ data extremely seriously and it is a top priority. We want to reassure our customers that their data was not at risk as a result of this error.”

We have also asked the Internet Society for its views. ®

Articles You May Like

iPad Air (2020), iPad 8th Gen, Apple Watch SE, Series 6 Launched: Highlights
GCHQ agency ‘strongly urges’ Brit universities, colleges to protect themselves after spike in ransomware infections
Nvidia GeForce RTX 3080 Founders Edition Review
One down, two to go: Astra’s first attempt to reach orbit scuppered by iffy guidance
Sony A7C ‘World’s Smallest and Lightest’ Full-Frame Mirrorless Camera With IBIS Announced

Leave a Reply

Your email address will not be published. Required fields are marked *