T 5.177 Abuse of short URLs and QR codes

Websites are usually addressed via an URL (Uniform Resource Locator) which is therefore also referred to as a web address. The complexity of many websites results in relatively long web addresses which are hard to remember and cannot be displayed in one line, particularly on mobile end devices such as smartphones. For this reason, different methods have evolved to make the use of web addresses easier for users. Popular examples are short URLs and QR codes.

Short URLs

Short URLs refer to a widely used service in the Internet whereby long URLs are replaced by shorter URLs. Short URLs make it easier to follow references in magazine articles. Many articles in paper-based magazines refer to sources from the Internet or contain references to websites. Unlike with online articles, these have to be copied manually. Short URLs reduce the effort significantly. Short URLs consequently have certain advantages, but also some risks:

QR codes

Similar to barcodes, QR codes (Quick Response) are representations of data in machine-readable form. In this case these are typically squares in which information is stored in a standardised manner using patterns of smaller squares. QR codes are often found on products or consumer information and serve to refer users to additional sources of information which may be useful or interesting for them. The users must photograph or scan the relevant QR code first, with their smartphone for example. In addition, an application must be installed on the end device to resolve the information contained in the QR code such as URLs, addresses, phone numbers or WLAN access information. A frequent application scenario is QR-Codes on brochures, in which an URL is encoded, but they are also often used in industrial environments and in logistics.

QR codes are machine-readable with a high fault tolerance, but cannot be easily decoded by humans. For this reason, users cannot identify the information encoded in a QR code before scanning it. The threats are similar to those with short URLs. For example, QR codes on websites can refer to malware or chargeable service numbers. Moreover, QR codes can also contain information on the vulnerabilities in the operating system or the end device reading the code. For example, a QR code may contain program calls which lead to a buffer overflow or an injection attack.

Example: