No Username. No Password. Just a Header — A $3,000 Authentication Bypass
The backend only checked that an Authorization header was present, not that it contained valid credentials. An attacker could send a request with a bare Basic Authorization header and access nearly 50 API endpoints, including customer data and internal settings, without any username or password.
First of all, Alhamdulillah. Every finding teaches something new, and this one reminded me that sometimes the most critical vulnerabilities can be discovered through simple curiosity and a willingness to question assumptions.
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
Impact
The bypass worked on nearly 50 API endpoints, giving access to viewing, creating, modifying and deleting customer data and internal system settings without valid credentials.
What the attacker needed
None
How it was found
- Find a subdomain that redirects to another site for authentication and view its page source.
- Download a JavaScript file loaded by the application and extract API endpoints from it.
- Send requests to the endpoints and observe that they return 401 Unauthorized.
- Review the JavaScript to see how authentication is implemented and find that it uses HTTP Basic Authentication.
- Send a request with an Authorization header containing only the word Basic and no credentials.
- Observe that the request is treated as authenticated and repeat across nearly 50 endpoints.
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.
HTTP Basic Authentication is a simple login method where the browser sends a username and password in a request header. Here, the server only checked that the header existed, not that the username and password were correct. So anyone could add an empty header and be treated as logged in.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.