Skip to content
Info disclosure Write-up Beginner

Full Company Building Takeover

An internet-exposed building management login panel was found via Shodan, and a file left by directory brute-forcing contained credentials that gave admin access. The attacker could then view live cameras, control elevators and doors, and manage employee access.

Omar Hashem Follow

Published on omar0x01.medium.com

Hello everybody, Most of the time you read about account takeover or Infrastructure takeover but did you heard before about Company building takeover, Today I will share with you an interesting vulnerability that I found while hunting on one of the programs on Hackerone, so let’s refer to our target as Target-IP.com

Omar Hashem, on omar0x01.medium.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, a publicly accessible file contained valid administrator credentials, and the login panel was exposed to the internet without protection.

Impact

The attacker could take control of the entire building, including live cameras, elevators, doors, and employee access.

What the attacker needed

Internet-exposed login panel; credentials in a public file

How it was found

  1. Search Shodan for the company's SSL name to find IP addresses.
  2. Access an IP address and find an eMerge login panel.
  3. Run dirsearch to brute-force directories and find a test.txt file.
  4. Open test.txt and find credentials.
  5. Use the credentials to log in to the login panel as admin.

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 company's building management system was reachable from the internet. A file left on the server contained a username and password, which let the author log in as an administrator. That gave control over cameras, doors, and elevators.

What is Info disclosure?

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

More by Omar Hashem

View all

8 more disclosed reports, best first.

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.