Overview
A recent data breach involving McDonald’s Japan is a good reminder that personal information is not limited to names, email addresses or credit card numbers. Attackers accessed a database associated with the company’s official smartphone application containing customer purchase history, IP addresses, mobile device location data and customer management identifiers. While McDonald’s Japan confirmed that names, phone numbers, home addresses and payment information were not exposed, the information that was accessed can still provide a surprisingly detailed picture of customer behaviour.
Steps
The incident reportedly involved unauthorised access to the application’s database, with the company working to invalidate credentials used to gain access and investigate the affected systems. What stands out is the combination of information involved. A purchase history on its own may appear relatively harmless, and location data on its own may not identify someone. Combined with timestamps, IP addresses and application activity, however, these datasets can become much more useful for profiling individuals and understanding patterns of behaviour.
Architecture
From an architecture perspective, this is where applications and their supporting APIs need to be treated as part of the security perimeter. A modern mobile application is rarely just an application sitting on a phone. It connects to APIs, databases, authentication services, analytics platforms and cloud infrastructure. Each connection creates another opportunity for incorrect permissions, exposed credentials or weaknesses in access control. Protecting the database therefore cannot be considered separately from protecting the application and the APIs that sit in front of it.
Security Best Practices
Organisations handling customer location and behavioural information should apply strict access controls, minimise the information retained and ensure that APIs only return the data genuinely required for a particular function. Database credentials should be tightly controlled and monitored, while unusual API access and database queries should generate appropriate security alerts. Encryption is important, but it should not be the only control. If an attacker can legitimately authenticate to an API and retrieve excessive information, encryption at rest will not prevent the application from becoming the source of the breach.
Benefits
Incidents like this provide an opportunity to rethink what organisations classify as sensitive information. Data minimisation can reduce the impact of a breach before an attacker ever gets through the front door. If an application does not need precise location history, there is a strong architectural argument for not retaining it indefinitely. Similarly, customer identifiers should be designed so that compromising one dataset does not automatically provide a straightforward path to identifying the individual behind the record.
Expert in the Cloud Insight
One of the biggest lessons here is that privacy and cybersecurity are becoming inseparable. As architects, we often focus on protecting the obvious assets: credentials, financial information, servers and databases. But behavioural information can be just as valuable. Where someone travels, what they purchase and when they interact with an application can reveal patterns that a person may never have intended to share. The question I would ask when reviewing an application architecture is not simply, “Can an attacker steal customer data?” It is, “If this database were exposed tomorrow, how much could someone learn about our customers?”
Caveats
McDonald’s Japan has not disclosed how many customers were affected or exactly how the attackers gained access, and the company stated that it had not identified misuse of the official applications or disruption to services. The incident should therefore not be interpreted as evidence that every piece of exposed data was used maliciously. The broader lesson remains important, however: a breach does not need to expose passwords or credit cards to become a serious privacy incident. In a connected world, location, behaviour and metadata can tell an attacker far more than we sometimes realise.
Expert in the Cloud — The Future Is Now.
Leave a Reply