An Effective 5 min recon leads to a Hall of Fame
A developer had committed FortiClient VPN credentials to a public GitHub repository. The researcher found the VPN login pages via Shodan and the credentials via a GitHub search, then logged in with them.
Published on renganathanofficial.medium.com
So I came back to bug bounties after almost 2 months. I had exams after the IRCTC bug.
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 log in to the company's VPN, potentially gaining access to internal systems.
What the attacker needed
Public GitHub repository with credentials; internet-facing VPN login page; Shodan access (premium used)
The fix
The leaked credentials were removed and the issue was patched.
How it was found
- Search Shodan for the target's SSL certificate and 200 OK responses to find FortiClient VPN login pages.
- Search GitHub for the target name together with username and password terms.
- Identify the repository owner as a software developer at the target company.
- Log in to the FortiClient VPN using the found credentials.
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 developer put their work VPN username and password into a public code repository on GitHub, where anyone can search. The researcher found the company's VPN login page and then the leaked password, and used them to sign in. This is dangerous because a VPN login can give access to the company's internal network.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.