How I Found A Credential Exposure Bug On Bbc
Two valid sensitive credentials were committed to a public BBC GitHub repository. An attacker who found them could potentially use them to access whatever systems they belonged to, though the text does not say what access they granted.
Anirudh Srinivas Balaji Follow
Published on infosecwriteups.com
I’m a beginner in bug bounty hunting. Even though my bachelors was in electronics, I got fascinated with cyber security while reading about computer networks in my bachelors.
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 exposed credentials could give an attacker access to BBC systems, but the text does not describe what those credentials unlocked or whether anyone used them.
What the attacker needed
Public GitHub repository; credentials committed to the code
The fix
The issue was fixed after the report, and the credentials should also have been rotated.
How it was found
- Find the target's public GitHub repository
- Search the repositories with GitHub dorks for leaked sensitive information
- Confirm the two credentials found are valid
- Report the issue to the responsible disclosure programme
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.
Developers sometimes save passwords or access keys inside code and upload that code to a public site like GitHub. Anyone can search these public repositories, so a secret left there is effectively public. If the secret still works, someone else can log in or access systems as the company.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.