SysAdmins
The server exposed anonymous FTP with a data breach notification linking to leaked passwords, and SNMPv3 was configured with a weak password that allowed reading process command lines containing a user's cleartext SSH password. After logging in as that user, a vulnerable sudo version allowed local privilege escalation to root.
Published on medium.com
Objective: Perform a penetration test against a sensitive Linux server, enumerate the machine, identify vulnerabilities, and elevate privileges to root.
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 multiple misconfigurations: anonymous FTP exposing sensitive information, weak SNMPv3 credentials, cleartext credentials in process arguments, and an outdated sudo version vulnerable to CVE-2025-32463.
Impact
An attacker could gain initial access as a regular user and then escalate to root, fully compromising the server.
What the attacker needed
Network access to the target; no credentials initially
How it was found
- Scan the target with Nmap to find open ports and services.
- Log in to FTP anonymously and download the data breach notification file.
- Extract leaked passwords from the Pastebin link and create a wordlist.
- Enumerate usernames from the website's Team section.
- Brute-force SNMPv3 authentication for user waserby using the leaked password list.
- Dump SNMP information and search for the hrSWRunParameters OID to find cleartext credentials.
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.
The server had several weak spots: an FTP service that let anyone log in without a password, and an SNMP service (used for monitoring) that was protected by a guessable password. Once inside, the attacker found a user's password written in plain text in a running process, and then used a known flaw in the sudo program to become the all-powerful root user.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.