Writeup Bugcrowd — Private program — QR codes
A QR code generation service accepted an arbitrary URL in its data parameter, allowing an attacker to create QR codes that pointed to external or malicious sites while appearing to originate from the company's domain. This could be used for phishing or showing inappropriate content.
Published on medium.com
Hi All, This case is about logic/bussiness security issue. Org/company: international based on USA Status: Fixed Bounty: none Public recognition (HoF/HoT or similar): none:D
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 QR code generator did not validate or restrict the data parameter, allowing any URL to be encoded.
Impact
An attacker could create QR codes that appear to be from the company but redirect to malicious sites, enabling phishing attacks or displaying inappropriate content.
What the attacker needed
Access to the QR code service
The fix
The issue was fixed according to the report.
How it was found
- After registering, use browser developer tools to find the QR code generation service.
- Observe the URL format with a data parameter containing a company link.
- Change the data parameter to an external URL, such as a Wikipedia image.
- The service generates a QR code for the external URL.
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.
A QR code is a square barcode that phones can scan to open a link. The company had a tool that made QR codes, but it did not check what link was put inside. So anyone could make a QR code that looked like it came from the company but actually sent people to a different website, which is a way to trick people.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.