FTP Permission & Upload Testing
This phase identifies write access and dangerous misconfigurations.
Spot Writable Directories
Look for directories showing drwxrwxrwt or group/world write bits during enumeration. Common targets: /incoming, /upload, /pub, /tmp.
Manual verification inside an active session:
ftp> pwd ftp> ls -la ftp> mkdir .testdir ftp> rmdir .testdir
Successful creation and removal confirms write access in the current directory.
Basic Upload Test
Verify upload:
For FTPS:
Upload with lftp
> cd incoming > put test.txt > ls -l test.txt > bye
For FTPS:
Cleanup
Remove artifacts immediately:
Writable directories combined with weak authentication or web exposure often lead to full compromise.
Was this helpful?
Your feedback helps improve this page.