Skip to content
Misconfiguration Write-up Intermediate

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.

Cardosoleo Follow

Published on medium.com

Objective: Perform a penetration test against a sensitive Linux server, enumerate the machine, identify vulnerabilities, and elevate privileges to root.

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

  1. Scan the target with Nmap to find open ports and services.
  2. Log in to FTP anonymously and download the data breach notification file.
  3. Extract leaked passwords from the Pastebin link and create a wordlist.
  4. Enumerate usernames from the website's Team section.
  5. Brute-force SNMPv3 authentication for user waserby using the leaked password list.
  6. 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.

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.