Skip to content
Leaked secrets Disclosed report Beginner

Sensitive API Key Leakage

AWS access and secret keys were exposed in a public GitHub repository. An attacker who found them could act with the same privileges as the key owner, accessing AWS resources and potentially incurring charges.

hemant1 Follow

Originally disclosed on HackerOne

  • Disclosed after 5 days

Vulnerability: AWS Sensitive Keys Leakage

Details : the AWS Access Key & Secret Key is leaked in a Public GitHub Repository located at :

Repository located at : █████████

Steps To Reproduce:

Go to : ██████

In the middle of this file you can see the Keys

Please see the attached screenshot also.

Impact

Impact of This Vulnerability : Any attacker who got access to these key can perform the arbitrary or malicious action on behalf of the authenticated user with same privilege and as unauthorized users can potentially access AWS resources, perform actions, and incur charges.

The original report as published on HackerOne, by hemant1. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Anyone with the keys could perform actions on behalf of the authenticated user with the same privileges and could access AWS resources and incur charges.

What the attacker needed

Public GitHub repository

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 report has not been written yet. The Original tab links to the source.

Cloud services like AWS use long strings called keys to prove who is making a request, similar to a password. If those keys are placed in a public code repository, anyone can copy them and use the account. Here the reporter found such keys sitting in a public GitHub repository.

What is Leaked secrets?

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

More from AWS VDP

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.