Skip to content
Info disclosure Disclosed report Beginner

Internal IP addresses range and AWS cluster region leaked in a Github repository

A public GitHub repository contained internal IP addresses and an AWS cluster region in a configuration file. An attacker could use this information to map the internal network and narrow down targets for further exploitation.

njaysec Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 2 months

Report Submission Form

Summary:

I was exploring the GitHub repository and found some internal IP address and its cluster region related to AWS cluster. So i decided to report it to you. Please have a look and let me know.

Steps To Reproduce:

VISIT THIS LINK : Repository - kubernetes / kubernetes File Link - https://github.com/kubernetes/kubernetes/blob/d4d02a9028337e41b4f7a76e4e7de50067e8529e/cluster/aws/config-default.sh

Supporting Material/References:

Reference: https://hackerone.com/reports/329791 https://hackerone.com/reports/271700 https://hackerone.com/reports/310036

Impact

  1. These IPs are related to AWS cloud, if someone get enter in the Vnet can also exploit machine on the machines already known.
  2. Gives the idea of the organization of internal network.
  3. Revealing the AWS cluster region can also narrow down the search of any hacker and make their work easy
  4. This will allow attackers to gain access to an internal IP of a DOD website along with other sensitive information that may be leaked with the request

Attachments

kub-aws1.png
kub-aws1.png From the original on HackerOne
kub-aws2.png
kub-aws2.png
kub-aws3.png
kub-aws3.png

The original report as published on HackerOne, by njaysec. 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

An attacker could use the leaked internal IPs and AWS region to map the internal network and narrow down targets, which could aid further exploitation.

What the attacker needed

None

How it was found

  1. Visit the linked GitHub repository.
  2. Open the linked configuration file.
  3. Observe the internal IP addresses and AWS cluster region.

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.

A configuration file in a public code repository accidentally included private network addresses and the cloud region where a cluster runs. These details are normally hidden because they help an attacker understand the internal layout of a network. The reporter found them by browsing the repository.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by njaysec

View all

2 more disclosed reports, best first.

More from Kubernetes

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.