No Credentials? No Problem. We Trust You.
The production Workflow API exposed a public Swagger specification and accepted authentication requests with missing or null credentials, issuing a signed admin JWT. This allowed access to sensitive logs containing thousands of user session tokens and vendor data, and the report also notes a shared AES key across services and a potential SQL injection.
medium.com
Published on medium.com
Before I tell you about the vulnerability, let me tell you about the man who made me.
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
An attacker could obtain admin-level access without valid credentials, read logs containing thousands of user session tokens and internal paths, and access vendor PII and business-sensitive data; the report also suggests a shared AES key could allow offline decryption of tokens across services.
What the attacker needed
None for initial access; network access to the API
How it was found
- Fetch the public Swagger JSON to discover all endpoints and parameters.
- Send a POST request to the token endpoint with arbitrary or null credentials to obtain a signed JWT.
- Use the token to call the processList endpoint, confirming access with a null user claim.
- Call the GetWFAPILogs endpoint with an empty JSON body to retrieve a large log file.
- Parse the logs to extract user IDs, session tokens, and API paths.
- Access the Vendor Onboarding schema via GetBmRecords to view business-sensitive fields.
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.
This API had a public map of all its endpoints and a login system that didn't properly check who was asking. An attacker could get an admin token without valid credentials and then read logs full of other users' session tokens and vendor information.
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.