Study: Hackers can get your credit card info in 6 seconds just by guessing it

Not cool, hackers.
 By 
Brett Williams
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

In troubling news, a paper from researchers at Newcastle University in the UK claims that Visa's credit-card payment system can be compromised online in "as little as six seconds." The security flaw was possibly the point of entry for the cyber-attack on the UK's Tesco Bank that lost £2.5 million.

This isn't some high-level hacking going on here either — all it takes for a determined thief to grab a treasure trove full of card data is a laptop with an internet connection and some basic guesswork, the paper says.

The team of researchers, led by PhD student Mohammed Ali, call the method "the Distributed Guessing Attack." It's a simple approach: a thief generates random numbers to guess combinations of card numbers, expiration dates and CVV codes (that three-digit number typically found on the back of the card). The video below demonstrates just how easy it is to generate all of these fields quickly:

Next, they test their combinations on multiple online payment services one field at a time. Since many websites ask for different variations of data for their payment-entry fields (there's no minimum security requirement for online vendors), it's easier to use the process of elimination to find each number individually rather than hoping to nail the set together in one go. According to the paper, there are three levels of data fields used by web merchants: Card Number + Expiry date; Card Number + Expiry date + CVV; Card Number + Expiry date + CVV + Address.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Bombarding multiple vendors' sites also allows the thieves to dodge individual site limits on purchase attempts and avoid triggering fraud protection measures.

“... the current online payment system does not detect multiple invalid payment requests from different websites," said Ali in the news release that accompanied the paper's publishing in IEEE Security and Privacy. "This allows unlimited guesses on each card data field, using up to the allowed number of attempts -- typically 10 or 20 guesses -- on each website."

It takes shockingly few attempts to guess the data once the hack is put into motion with an active card number. Most cards are valid for 60 months, so guessing the expiration date takes at most 60 attempts.

The CVV is a bit more difficult to find, but not by much: the team estimates about 1,000 attempts at most. "Spread this out over 1,000 websites and one will come back verified within a couple of seconds," Ali said.

The Newcastle team tested the methods by using their own card data and a bot to carry out the attacks.

This is a major issue unique to Visa's security, as the team found that MasterCard's online fraud protections detected the guessing attack after 10 attempts or fewer, even spread out over multiple sites. That said, only Visa and MasterCard were included in the study, so the jury's out regarding the safety of other credit card providers from a Distributed Guessing Attack.

In response to the paper's revelations, The Guardian reports that a Visa spokesperson was dismissive of much large-scale risk from the vulnerability and placed the responsibility on vendors. They said that Visa is “committed to keeping fraud at low levels, and works closely with card issuers and acquirers to make it very difficult to obtain and use cardholder data illegally … There are also steps that merchants and issuers can take to thwart brute force attempts.”

Those steps include employing 3D Secure systems like Visa's "Verified by Visa" technology, which adds extra steps to the online verification process. The paper concluded that sites that employ those measures are protected from the attacks — but out of 400 of the internet's largest retail sites, only 47 had the protections.

Still, the Visa rep was receptive of the research. “Visa welcomes industry and academic efforts to identify and address perceived vulnerabilities in the payment system,” they said.

But consumers are still at risk. According to Dr. Martin Emms, one of the paper's co-authors, there's no way to protect from these attacks, only steps to take to limit the damage of a security breach. Only using one card online can help limit risk, along with staying alert for unverified purchases.

“However, the only sure way of not being hacked is to keep your money in the mattress," he said, "and that’s not something I’d recommend!”

Topics Cybersecurity

Mashable Image
Brett Williams

Brett Williams is a Tech Reporter at Mashable. He writes about tech news, trends and other tangentially related topics with a particular interest in wearables and exercise tech. Prior to Mashable, he wrote for Inked Magazine and Thrillist. Brett's work has also appeared on Fusion and AskMen, to name a few. You can follow Brett on Twitter @bdwilliams910.

Mashable Potato

Recommended For You
You only have days left to get this credit-card-sized tracker for less than $24
Wallet with cards

A controversial dating app uses credit scores to create matches
By Jack Dawes
Man using a smartphone to check his credit score to apply for a loan to the bank. Online credit score ranking check concept. - stock photo

Get a free $10 Best Buy gift card when you buy a $100 Wayfair gift card
Living room scene featuring yellow chair, gray couch, medallion rug, vases, and flowers


It's your last chance to snag $30 off this Samsung Galaxy Buds 4 Pro + $30 Amazon Gift Card combo
Samsung Galaxy Buds 4 Pro + $30 Amazon Gift Card on pink and purple abstract background

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!