by onetimeuse92304 · 2y ago · 0 comments
Recently we were in a restaurant which required scanning a QR code to get served (for some reason asian restaurants like doing this). The codes were labels attached to the menu. I told the waitress "I can't scan the codes because I don't know who put the QR codes there". She told "the codes lead to their website". I told her "I don't know that, it takes a moment to print a label that looks exactly the same to my eye". She told me "it would then not point to their website". I respond if she knows what MITM attack is. She responded "if you can't afford a phone we should leave and go somewhere else".
The funniest is those QR codes left at random in public. I imagine scanning these is like finding a random pendrive and putting it in your computer.
iOS shows the domain if it is a URL and you have to tap it. It's no different from tapping on a link on a website, which I would say is more insecure since you don't even get the domain info before tapping.
So instead of seeing a nice hover-over of "SuperDeliciousItalian.com/menu", as often as not it will be "qr.to/f2CrS" or somesuch.
So exposing the URL encoded in the QR code doesn't provide all the information you need to assess its validity or safety.
(FWIW, I actually wish more table QR codes did contain these parameters - why do I need to enter the table number in the form after navigating to the online menu? I hate these things btw...)
What are you so scared of? It isn't the 90s where by tricking someone into following a dodgy link their windows machine was instantly pwned.
Sorry for the sarcasm, but if you trust clicking on links in a browser, QR codes should be fine as well.
Unfortunately there’s a deeper problem in this security model, in that only a tiny tiny fraction of the web’s userbase knows how to assess a URL, and even experts can easily struggle
1. A restaurant should provide a menu printed on paper or a panel. Sometimes pictures are used.
2. Verbal communication serves that purpose also well. And friendly manner.
3. Some cameras don’t display the read input properly. Input is always in error until it is validated. Here is user validation required.
4. You don’t need to invent excuses like “my camera is broken, I forgot my phone, Bad eyesight…”.
5. You don’t have to carry around a camera, a cellular access terminal and a computer (consider this as description of a smartphone) with you.
6. The website can load arbitrary data with JavaScript and mine Bitcoin in a sandbox. It is not safe because it will drain the battery.
I like QR-Codes. They are analog and digital at same time, printed on paper and machine-readable and nobody ruined it with incompatibility. If possible the payload is printed as ASCII aside the codes.PS: Similar. To provide a common base, prevent exclusion of unwanted customers and prevent against malicious data processing some jurisdictions require cash payment options.
Of course you can. Use an application that allows it.
Scan the QR code, dude.