Skip to content
Misconfiguration Write-up Beginner

Recon To Network Takeover

The company exposed many network devices such as routers, firewalls and IP cameras to the internet, and some used default credentials. An attacker could use Google dorks to find these devices and then log in with default credentials to take them over.

medium.com

Published on medium.com

I was requested by my friend to pentest a company in my country, as they offered good money, they allowed me to test each and every phase of their company. It was full scope Pentesting.

Bilal Khan, on 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 network devices were left with default credentials and exposed directly to the internet.

Impact

The attacker could take over many network devices, including firewalls and routers, potentially leading to full network compromise.

What the attacker needed

Devices exposed to the internet; default credentials on devices

The fix

Devices should be protected with strong, non-default credentials and should not be exposed directly to the internet.

How it was found

  1. Find the company's IP ranges using an internet number registry.
  2. Use Google dorks with wildcards on the IP ranges to find exposed devices.
  3. Filter results with additional dorks to find specific devices such as wifi routers.
  4. Use tools like Routersploit to exploit default credentials on the discovered devices.

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.

Many network devices like routers and cameras have a web page for administration. If that page is reachable from the internet and still uses the factory password, anyone who finds it can log in and control the device. This write-up shows how searching Google for the company's IP range revealed many such devices.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.