TFTP

TFTP is a minimal UDP file-transfer protocol on port 69 with no authentication whatsoever. Any client can read and, where the server allows, write files. The offensive surface is reading sensitive files the server exposes (configs, firmware, PXE boot files), writing to influence a device that consumes them, and directory traversal to escape the TFTP root.

1 phút đọccập nhật 5 thg 10, 2026florianamette1 người đóng góp
Hỏi trợ lý của bạn (MCP)Sửa trên GitHub

TFTP (Trivial File Transfer Protocol) is a deliberately minimal file-transfer protocol over UDP port 69. It has no authentication, no directory listing, and only two real operations: read a file (RRQ) and write a file (WRQ). It is used where simplicity matters, PXE network boot, router and phone firmware and configuration, backup of device configs, so the files it serves are often sensitive, and a writable TFTP server lets an attacker influence whatever device consumes those files. Because there is no auth, reaching port 69 is the only precondition.

bash
# connect (no listing exists; you request known/guessed filenames)
tftp <target>
#   tftp> get <filename>      # read
#   tftp> put <localfile> <remote>   # write (if allowed)
# scripted
curl -s tftp://<target>/<filename> -o out
nmap -sU -p69 --script tftp-enum <target>     # probe for common filenames

Subtopics#

References#