Bumper Hit ๐
A Samsung engineer stored Bitbucket credentials on a public Papaly bookmark board, and the Bitbucket account lacked two-factor authentication. An attacker who found the board could have used the credentials to access Samsung's production Bitbucket instance.
Published on blog.usejournal.com
After giving a lot of thought, a couple of things hit my mind, and I immediately decided to put a rough sketch altogether:
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 engineer stored credentials in a public bookmark board and the Bitbucket account did not enforce two-factor authentication.
Impact
An attacker could have accessed Samsung's production Bitbucket instance, potentially exposing or modifying source code.
What the attacker needed
Public bookmark board with credentials; no two-factor authentication on account
The fix
The issue was fixed after being reported, and the key takeaway is to enable two-factor authentication at organisation level for repositories.
How it was found
- Search public bookmarking sites for links to code-hosting services using a search engine query.
- Review public boards and find one belonging to a Samsung engineer that contained Bitbucket credentials.
- Use the exposed credentials to access the production Bitbucket instance, which lacked two-factor authentication.
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.
Someone saved their work login details for a code-hosting service on a public bookmarking website. That service did not require a second proof of identity (two-factor authentication) when logging in. Anyone who found the public bookmark could therefore log in as that person and reach the company's private code repositories.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.