Skip to content
Leaked secrets Write-up Beginner

From GitHub Recon to Hotstar Admin Access: A Deep Dive into Security Flaws

Development credentials were exposed in a GitHub repository, and they granted access to Hotstar's admin panel. An attacker could use them to manage users, advertising content, billing details, and approve or reject requests.

infosecwriteups.com

Published on infosecwriteups.com

Hello Everyone I am Vishal Vishwakarma [@rootxvishal] I hope you enjoy it and learn something new from it.

Vishal Vishwakarma, on infosecwriteups.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

Impact

An attacker could gain full administrative control over advertising operations and billing, including managing users, ad creatives, billing details, and request approvals.

What the attacker needed

Public GitHub repository with credentials; admin panel accessible on the internet

The fix

The issue was fixed by the Hotstar security team after being reported.

How it was found

  1. Enumerate subdomains and filter live hosts to find an admin login page.
  2. Search GitHub and Google with dorks for the admin panel URL and related data.
  3. Find a GitHub repository containing source code with development credentials.
  4. Decode the Base64-encoded credentials.
  5. Log in to the admin panel with the decoded email address and password.

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 accidentally put a username and password into a public code repository on GitHub. Anyone who found that code could log in to the company's admin panel, which is meant only for staff, and change user accounts, ads, and billing information.

What is Leaked secrets?

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

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.