Skip to content
Info disclosure Write-up Intermediate

From Order to Exploit: A Deep Dive into Restaurant Network Security

The restaurant ordering system communicates over unencrypted HTTP on a local Wi-Fi network, so an attacker on the same network can intercept session cookies and reuse them to access the order management panel without credentials. This allows editing orders, closing bills, and potentially avoiding payment.

davimouar Follow

Published on medium.com

Restaurant ordering systems streamline operations, but they can also present significant security risks. Here’s how I discovered a vulnerability in one of these systems, that allowed me to edit my orders, potentially eat for free, and bypass charges by intercepting and manipulating HTTP traffic.

Davi Moura, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the ordering system uses unencrypted HTTP and does not protect session cookies, allowing anyone on the same network to capture and reuse them.

Impact

An attacker on the same network could capture cookies and access the order management panel, allowing them to edit orders, close bills, and potentially avoid payment; the attack requires network access and is limited to unencrypted HTTP traffic.

What the attacker needed

Access to the restaurant's Wi-Fi network; attacker on the same network; victim uses the ordering system

The fix

The system should use HTTPS to encrypt all communication and protect session cookies, and the network should be segmented with WPA3 and ARP spoofing detection.

How it was found

  1. Access the restaurant's Wi-Fi network, for example by cracking the WPA2 handshake or asking staff.
  2. Set up an evil twin access point with a Wi-Fi Pineapple to impersonate the legitimate network.
  3. Deauthenticate connected devices so they reconnect to the fake network.
  4. Capture network traffic with TCPDump and save it as a .pcap file.
  5. Open the capture in Wireshark and filter for HTTP to find cookies or login credentials.
  6. Import the captured cookies into a browser and reload the page to gain access to the order management panel.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The ordering system sends data over the local Wi-Fi without encryption, so anyone on that network can read it. The author shows how to capture the session cookie, which is like a temporary key that keeps a user logged in, and then use it to open the management panel as if they were a waiter.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by davimouar

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.