Curious Case of a Feedback Link
A courier service used short, non-expiring, sequential-looking alphanumeric identifiers in feedback links that exposed full delivery details, including personal information, without authentication. An attacker could enumerate these identifiers to view other customers' data.
medium.com
Published on medium.com
Hello world, so this is yet another simple write-up regarding a vulnerability I found in one of the prominent courier services in India. This write-up is solely intended to just make people aware of the cyber security issues present in the wild.
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 application relied on a short, static, non-expiring identifier as the sole access control for delivery details, without authentication or rate limiting.
Impact
An attacker could view personal information (address, phone number, reference number) and additional delivery details of other customers, but the text does not claim further exploitation.
What the attacker needed
Access to a feedback link; no authentication required; no rate limiting
The fix
The affected entity remediated the issues after mediation by CERT-IN, though the specific fix is not described.
How it was found
- Receive a feedback link containing a short alphanumeric string.
- Remove the endpoint and parameter from the URL to access the delivery details page.
- Use the Wayback Machine to find other similar links and confirm the string length is fixed and links do not expire.
- Generate a list of alphanumeric strings of the same length and test them with Burp Suite.
- Observe that there is no rate limiting and obtain other valid endpoints.
- Decode the base64-encoded response to find additional personal and delivery details.
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 courier's website used a short code in the web address to show a delivery's details. These codes never expired and could be guessed or found in old web archives, so anyone could change the code and see someone else's order information. This is called an insecure direct object reference, where the only protection is a guessable identifier.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.