Skip to content
Info disclosure Write-up Beginner

INFORMATION DISCLOSURE THROUGH AN ORGANIZATION’S NETWORK

An Nmap scan of the authors' own local network found an exposed Nginx UI on port 8080 and a Node.js Express page on port 3000 that displayed source code documentation containing admin passwords. The authors claim this could let an unauthorised person control the web server and gain elevated access to network resources.

hackhive Follow

Published on hackhive.medium.com

While using Nmap, we accidentally scanned a local computer on our LAN. This scan showed several open ports that exposed sensitive information.

HackHive, on hackhive.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 an administrative Nginx UI and a Node.js Express debug/documentation page were exposed on the local network without access restrictions, and the documentation page included credentials.

Impact

The authors claim an unauthorised user could control the web server, add or remove subdomains, and use the exposed passwords for elevated access, though no actual exploitation beyond viewing the pages is shown.

What the attacker needed

Access to the same local network; no authentication needed to view pages

The fix

Access to the Nginx UI and the Node.js Express page should be restricted to trusted users, and credentials should be removed from documentation and source code.

How it was found

  1. Scan the local IP range with Nmap to find active devices and open ports.
  2. Focus on the target IP and inspect its open ports.
  3. Access port 8080 and find the Nginx server interface.
  4. Access port 3000 and find a Node.js Express page with source code documentation containing admin passwords.

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 scan is a way of asking many computers on a network which doors (ports) are open and what service sits behind each one. Here the scan found an administration page for a web server and a developer page that showed passwords in its documentation, so anyone on the same network could read them. Passwords and admin panels should never be reachable by just anyone on the network.

What is Info disclosure?

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

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.