Proftpd Exploitation
The ProFTPD 1.3.5 service on the target was exploited using a Metasploit module that writes a payload into the Apache web root, allowing the attacker to obtain a reverse shell. The text does not explain the underlying vulnerability, only the exploitation procedure against an intentionally vulnerable machine.
Published on systemweakness.com
This article will explain the ProFTPD Exploitation with a step-by-step approach, from simple target scanning, to service exploitation.
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 ProFTPD version in use has a known flaw that lets an attacker write files into a directory served by the web server, but the text does not state the actual cause.
Impact
An attacker could gain a reverse shell on the target, but only because the machine is intentionally vulnerable and the web path was writable.
What the attacker needed
Target runs vulnerable ProFTPD; writable Apache web root; network access to target
How it was found
- Scan the target with Nmap to find open ports and services.
- Note that ProFTPD 1.3.5 runs on port 21 and Apache runs on port 80.
- Start Metasploit and search for a ProFTPD 1.3.5 exploit.
- Select the exploit and set the target host and the writable web path.
- Choose a reverse shell payload and set the attacker's address and port.
- Run the exploit to obtain a reverse shell.
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.
This is a walkthrough of attacking a deliberately vulnerable practice machine. It uses a ready-made tool to take advantage of an old file-transfer server so that the attacker can run commands on the target. It does not explain why the server is vulnerable, only how to run the tool.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.