Skip to content
Misconfiguration Write-up Beginner

Pentesting Isp 101 How I Hacked Fixed My Isp

The ISP left WiFi routers with public IP addresses and default admin/admin credentials, allowing anyone to log in and view customer data. An attacker could change DNS settings, steal credentials, and take over the victim's modem.

Divyanshu Follow

Published on infosecwriteups.com

This blog is about the misconfiguration issue in the ISP I was using. While working on Shodan, I discovered that ISP has left WiFi modem/router with public IP and default password.

Divyanshu, 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

Root cause

Likely the ISP deployed routers with default admin credentials and made their management interface reachable from the public internet.

Impact

An attacker could log in to any exposed router, steal data, change DNS to perform phishing attacks, and completely take over the victim's WiFi modem.

What the attacker needed

Routers with public IP and default credentials; network access to scan public IPs

The fix

The issue was fixed after reporting to CERT-In, and the ISP should also change default credentials and restrict public IP access to the management interface.

How it was found

  1. Check the local IP and modem gateway using ifconfig and route -n.
  2. Run an Nmap ping sweep to find active public IPs.
  3. Open the list of public IPs; the router login page appears.
  4. Try the default router credentials admin/admin.
  5. Access the victim's device panel and view connected devices and WiFi password.
  6. Search the IPs on Shodan to identify the router model.

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 home routers come with a default username and password, often admin/admin, that the owner is supposed to change. Here the internet provider exposed these routers directly to the public internet, so anyone could find them and log in with the default password. Once inside, an attacker could see the WiFi password, connected devices, and change settings like DNS.

What is Misconfiguration?

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

More by Divyanshu

View all

1 more disclosed report, best first.

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.