The Latest in IT Security

QR code security risks in the car park

14
Sep
2011

QR codeQR codes are a highly convenient way to link a physical object to a URL. Point your phone’s camera at the 2D barcode and you’re instantly taken to a website.

That’s something which can have security consequences, as mobile guru Terence Eden explains.

Recently, Islington Council in London has partnered with Verrus to bring mobile phone payments to car parking.

It’s a really simple way to improve paying for parking – but it does leave open some fairly serious security risks.

Initial impressions

Islington Parking QR CodeThe QR codes being used by Islington Council are fairly clearly displayed on the side of the parking meters – but there is no printed call to action.

Which raises the question – what does scanning the code do?

From a practical point of view, would anyone scanning the code know that it allowed them to pay with their phone?

From a security point of view, does the QR code belong to the parking company? Could someone malicious have stuck this code onto the machine?

Unfortunately, there is a problem with the QR code that rang instant alarm bells in my mind.

I spotted instantly that it isn’t using an HTTPS URL:

http://m.paybyphone.co.uk/?
utm_source=islington&
utm_medium=qrcode&
utm_campaign=mweb

For a site which asks for a password – and later for credit card details – that seems like a worrying oversight, and isn’t going to instill confidence.

In fairness, the site does automatically redirect to the SSL version – but why leave that out of the QR code?

After scanning the code with their mobile phone, this is what the first time user sees:

Parking mobile website visited via QR code

One thing to note is that most mobile phones won’t display the full URL, unless they are in landscape mode.

The URL on display could easily be:

https://m.paybyphone.evilsite.xxx/

Registering

If you’ve never used the system before, you need to register on this screen:

Enter your credit card details

It is, in my opinion, a very poor idea to require someone to type their credit card number into a phone.

  • What if there’s a gang of vicious hoodies waiting to snatch credit cards from unsuspecting users as they get them out on the street?
  • Is this really a legitimate site? There is no way of knowing, and the switch in branding between “paybyphone” or “PayByPhone” just makes things more confusing and suspicious.

Attack Vectors

The main way of attacking a QR code is to change it. In this case, all it would take would be a large sticker placed on the car parking notice to successfully redirect the user.

In the most mundane case, an attacker could ask the user to visit a malicious website which collects their login details – or worse, their credit card number.

However, a QR code can also be used to point to a premium rate phone number or premium rate SMS. Both could look “legitimate” when placed near a parking meter. A simple and effective way to deprive a victim of their money.

Solutions

QR code hijacking is very rare – but here are a few practical tips for securing a QR code payment service.

  1. Include signage telling the user what the code does. Otherwise the user has no way of knowing if the code should point to a URL, phone number, or SMS.
  2. Print the URL near to the code. This way if the code is hijacked and pointed to http://evilsite.xxx/ the user can see they’re not visiting the correct site.
  3. Include https in the URL. Get users used to checking for https before they interact with you.
  4. If possible, use a short domain. Not only will it reduce the size of the QR code, it will give your users confidence if they can see the full domain in their phone’s URL bar.
  5. Don’t ask a user to get their credit card out on a busy street. Use a mobile payment solution which charges to the user’s phone bill or deducts it from their credit.

QR codes provide a brand new way for people to interact with your service. Make sure that what you offer them is simple, satisfying, and secure.


Disclaimer: The author currently works for InMobi who have a mobile payments product called SmartPay. There are several other cross-network payment solutions, including Boku or Google Checkout.

Leave a reply


Categories

THURSDAY, SEPTEMBER 19, 2019
WHITE PAPERS

Mission-Critical Broadband – Why Governments Should Partner with Commercial Operators:
Many governments embrace mobile network operator (MNO) networks as ...

ARA at Scale: How to Choose a Solution That Grows With Your Needs:
Application release automation (ARA) tools enable best practices in...

The Multi-Model Database:
Part of the “new normal” where data and cloud applications are ...

Featured

Archives

Latest Comments

Social Networks