So, on Reddit’s Netsec group I found the following link:
Tesco (UK) discount barcodes cracked? (mtdevans.com)
…and the usual extended Reddit discussion of the link; but I clicked through and what did I find:
Tesco Discount Barcodes, Cracked
Understandably, Tesco weren’t best pleased. Here ends playing with their barcodes.
Sorry if you were too late.
Sunday 22nd July. Updated: Wednesday 25th July
…a message posted by “Matt Evans, a Physics student at the University of Manchester (you know, ‘the one with Brian Cox’).”
Hm. Professional Security Researcher (me) wants to know more. Google Cache to the rescue!
Tesco Discount Barcodes, Cracked
Tesco are dumb.
Ok, I’ll elaborate. In Tesco on Friday evening I spied a phenomenal bargain. Boost bars with a best before of that day for the measely sum of 7p. Looking at the barcode (isn’t that what everyone does?) I noticed something weird.
Boost bar multipack: £1.20
Barcode: 5000221503354Boost bar multipack on 20th July: 7p
Barcode: 971500022150335460000708Maybe it’s a little hard to see, so here it is highlighted.
971 5000221503354 6 00007 0 8
That green number is, actually, the price. To show it isn’t just a co-incidence, here’s the barcode for a fruit snack I bought the next day for 31p.
971 0000010097403 7 00031 0 2
Wait, That Means Free Stuff
So, I guess if you type the barcode into a self-service till rather than scan it, you could just put 00001 and get it for a penny?
[…remainder of article elided…]
…and I’m going to purposely edit this here because Tesco has deep pockets and people with deep pockets often have lawyers with little restraint; that said the discussion continues with how to compute the necessary checksum plus some speculation on the number formats.
However as I – a globally respected professional security researcher with an noted interest in all forms of computer vulnerability – as I see things, Matt is at most guilty of pointing out embarrassing facts.
It’s not necessary to walk away from Tesco with goods (thereby committing theft) in order to test how easy it would be to dupe their barcode scanners; and to my knowledge there is no statute yet pertinent to confusing a barcode reader so long as you don’t swipe (or even carry) a card or cash and/or try and make a transaction out of it. In the industry we call this “fuzz testing” – firing random crap at an API to see if it is accepted – and yes it’s inadvisable to do it without permission of the hardware owner but I can’t think how it can be made illegal without it being equally illegal to type in your ATM PIN incorrectly.
I am not a lawyer, in any case, but I daresay some lawyers could try to make a case to the contrary – that’s what they do, isn’t it?
I have not yet contacted Matt to see if he got Cease-and-Desisted or something, but I shall be amused to find out.
Leave a Reply