My First Bug Bounty
The author found that dropping login request packets bypassed authentication on an SFTP gateway, granting access to user management and file upload functions. An attacker could add users and manage scripts and files on the server.
Published on vikasrai11.medium.com
Finding bugs in public bug bounty platforms can be an arduous task. After countless sessions of trying and giving up , I decided to change my approach.
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 login logic treated a missing or interrupted request as a successful authentication instead of denying access.
Impact
An attacker could add new users and manage the uploading of scripts and files to the server.
What the attacker needed
Access to the login page; ability to intercept and drop requests
How it was found
- Find a link containing 'SFTP' in its domain that leads to a login page.
- Attempt failed logins while intercepting the requests.
- Drop the intercepted login request packets.
- Observe that the login is bypassed and the SFTP gateway is accessible.
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 login page is meant to check your username and password before letting you in. Here, if the network request carrying the login attempt was simply dropped, the page let the person through anyway, as if the check had passed. That let the person reach an administration area where they could create accounts and upload files.
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.