Skip to content
Leaked secrets Write-up Beginner

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.

Prateek Tiwari Follow

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:

Prateek Tiwari, on blog.usejournal.com

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

  1. Search public bookmarking sites for links to code-hosting services using a search engine query.
  2. Review public boards and find one belonging to a Samsung engineer that contained Bitbucket credentials.
  3. 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.

More from Samsung

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.