Hundreds of millions of payment cards throughout Europe have a flaw that could allow criminals with a stolen card to enter any random PIN to complete a transaction, according to researchers from the University of Cambridge.
The findings, which will be presented at the IEEE Symposium on Security and Privacy in California in May, cast new doubts on chip-and-PIN or EMV cards. The cards contain a microchip that verifies a correct PIN in order to complete a transaction.
European banks hail the system as more secure, as U.S. cards do not have the microchip, which has so far prevented some types of card cloning.
But the Cambridge researchers have found a weakness in the complicated EMV protocol that allows for a man-in-the-middle attack. It essentially tricks the point-of-sale terminal into believing it has received a correct PIN no matter what digits are entered.
The card thinks that the transaction was authorized by a signature. In some instances, point-of-sale terminals may have trouble connecting back to a card's issuing bank but allow a transaction anyway if completed by a signature.
The attack requires high-level knowledge of the chip-and-PIN system and some external hardware as the researchers demonstrated on the BBC's Newsnight program.
Nonetheless, “this flaw is really a popper,” said Ross Anderson, professor of security engineering, on Newsnight.
On the program, Anderson's colleague, Saar Drimer, is shown illustrating the attack at the University of Cambridge's cafeteria. He wore a backpack containing a laptop computer and an FPGA (field programmable gate array) board. A dummy card is actually inserted into the point-of-sale device, which is wired to the stolen card.
For the demonstration, the researchers used a credit card from HSBC, one from the John Lewis department store, and debit cards from Barclays and The Cooperative Bank. Drimer is seen slyly inserting the dummy card — which has a protruding wire — into the point-of-sale terminal. The transaction is authorized even though Drimer enters an incorrect PIN of “0000.”
The banking industry was informed about two months ago by the researchers of the attack. HSBC and Barclays referred comment to U.K. Payments, a banking trade association.
“We never said chip-and-PIN was completely infallible,” a spokeswoman said Friday. “We firmly believe it [the attack] is not really plausible in a day-to-day environment. They've created a convoluted way of committing this fraud.”
Cambridge researchers have been highly critical in the past of chip-and-PIN, finding numerous technical problems with the specification and criticizing the lack of transparency under which it was developed.
They argue that's troubling since the banks tend to hold customers responsible for losses for transactions in which their PIN was used, even if the customer says no one else knew the PIN, they say.
“So far, banks have refused to refund such victims because they assert that a card cannot be used without the correct PIN,” according to their paper, entitled “Chip and PIN is Broken.” “This paper shows their claim is false.”
About 730 million chip-and-PIN cards are in use worldwide. Most European countries use the cards, and they are also being introduced in Canada and discussed in the U.S.
In addition to Drimer and Anderson, the research was done by Steven J. Murdoch and Mike Bond. More information is available on the Light Blue Touchpaper blog..