A cyber-security firm has said it found malicious code injected into the British Airways website, which could be the cause of a recent data breach that affected 380,000 transactions.
A RiskIQ researcher analysed code from BA’s website and app around the time when the breach began, in late August.
He claimed to have discovered evidence of a “skimming” script designed to steal financial data from online payment forms.
BA said it was unable to comment.
A very similar attack, dubbed Magecart, affected the Ticketmaster website recently, which RiskIQ said it also analysed in depth.
The company said the code found on the BA site was very similar, but appeared to have been modified to suit the way the airline’s site had been designed.
“This particular skimmer is very much attuned to how British Airway’s payment page is set up, which tells us that the attackers carefully considered how to target this site instead of blindly injecting the regular Magecart skimmer,” the researcher wrote in a report on the findings.
“The infrastructure used in this attack was set up with British Airways in mind and purposely targeted scripts that would blend in with normal payment processing to avoid detection.”
Hacks like this make use of an increasingly common phenomenon, in which large websites embed multiple pieces of code from other sources or third-party suppliers.
Such code may be needed to do specific jobs, such as authorise a payment or present ads to the user. But malicious code can be slipped in instead – this is known as a supply chain attack.
In BA’s case, hackers stole names, email addresses and credit card details – including the long number, expiry date and the three-digit CVV security code.
“As this is a criminal investigation, we are unable to comment on speculation,” said BA in a statement.
A spokesman for the UK’s National Crime Agency said it was aware of the RiskIQ report but would not be commenting at this time.