Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Mobile & Wireless

Samsung Pay Token Flaw Allows Fraudulent Transactions

A researcher has discovered several security issues in the Samsung Pay mobile payment service, including a vulnerability that can be exploited to make fraudulent transactions.

A researcher has discovered several security issues in the Samsung Pay mobile payment service, including a vulnerability that can be exploited to make fraudulent transactions.

Samsung Pay provides users a digital wallet where they can keep their plastic credit, debit, gift, loyalty and membership cards. When customers want to use one of their cards, they simply select it, enter their PIN or scan their fingerprint, and hold their smartphone near the card reader.

At the Black Hat security conference last week, researcher Salvador Mendoza shared the results of his Samsung Pay analysis. The expert discovered static passwords used to protect databases, weak obfuscation, and comments in the code – all of which could eventually allow a clever attacker to access sensitive data.

Mendoza also noticed that the mobile application uses tokens to perform transactions instead of the actual card data – this ensures that the original card data is not exposed. A new token is generated for each transaction and, according to the researcher, an attacker might be able to predict future tokens based on previously used tokens.

Another attack method, which the expert has managed to put into practice, is related to unused tokens. Each token is invalidated after the transaction is completed. However, if for some reason the transaction is not completed, the token remains valid for one day, even after a new token is generated.

If attackers can obtain unexpired tokens, they can use them to make transactions without needing the victim’s smartphone. Mendoza created a small device, one that can be attached to a person’s wrist, that can capture tokens from nearby phones running Samsung Pay. In a scenario described by the expert, the attacker asks the victim to show them how the mobile payment system works, a process in which a token is generated, but remains unused.

The captured token can then be added to a device such as MagSpoof, an open source wireless credit card and magstripe spoofer created by researcher Samy Kamkar. MagSpoof can emulate a traditional magnetic stripe card by generating a strong electromagnetic field.

A video made available by Mendoza shows how he was able to use a slightly modified version of MagSpoof to make a purchase with the captured Samsung Pay token.

Advertisement. Scroll to continue reading.

SecurityWeek has reached out to Samsung to find out if the company is aware of the vulnerability and if it plans on addressing it.

“Samsung Pay has to work harder on the token’s expiration date to suspend it as quickly as possible after the app generates a new one, or the app may dispose of the tokens which were not implemented to make a purchase,” Mendoza explained in a paper published after Black Hat. “Also, Samsung Pay needs to avoid using static passwords to ‘encrypt’ its files and databases with the same function because eventually someone will be able to reverse it. The databases are very sensitive. They contain delicate information to update the token status, server connection instructions and validation certificates.”

UPDATE. Samsung has published a brief statement, calling the recent report inaccurate:

“Each Samsung Pay transaction uses a digital token to replace a card number. The encrypted token combined with certificate information goes through multiple security layers and can be used only once to make a payment. Samsung Pay is designed so that merchants and retailers cannot see or store the actual card data, and our customers are notified with each transaction. Multiple layers of security from Samsung Pay and our partners are in place to detect threats to security,” the company said.

However, Mendoza told SecurityWeek that he reported the issues in May and Samsung said it was working on addressing them. The researcher last tested the application before his Black Hat presentation and the token flaw was still there.

Related: Flaws in Venmo Payment App Allowed Hackers to Steal Money

Related: SSL Flaw in Intel Crosswalk Exposes Apps to MitM Attack

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Understand how to go beyond effectively communicating new security strategies and recommendations.

Register

Join us for an in depth exploration of the critical nature of software and vendor supply chain security issues with a focus on understanding how attacks against identity infrastructure come with major cascading effects.

Register

Expert Insights

Related Content

Mobile & Wireless

Infonetics Research has shared excerpts from its Mobile Device Security Client Software market size and forecasts report, which tracks enterprise and consumer security client...

Mobile & Wireless

Samsung smartphone users warned about CVE-2023-21492, an ASLR bypass vulnerability exploited in the wild, likely by a spyware vendor.

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Fraud & Identity Theft

A team of researchers has demonstrated a new attack method that affects iPhone owners who use Apple Pay and Visa payment cards. The vulnerabilities...

Mobile & Wireless

Critical security flaws expose Samsung’s Exynos modems to “Internet-to-baseband remote code execution” attacks with no user interaction. Project Zero says an attacker only needs...

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Mobile & Wireless

Two vulnerabilities in Samsung’s Galaxy Store that could be exploited to install applications or execute JavaScript code by launching a web page.

Mobile & Wireless

Asus patched nine WiFi router security defects, including a highly critical 2018 vulnerability that exposes users to code execution attacks.