Guest access

AFP servers frequently allow guest (no-authentication) access to some or all volumes, a convenience default on consumer NAS devices. A guest can enumerate the server's volumes and mount them, reading and sometimes writing files, and Time Machine volumes are especially valuable because they hold a complete, browsable copy of a user's system.

bash
# Enumerate the server and its volumes as guest
nmap -p 548 --script afp-serverinfo,afp-showmount <target>
# Mount a volume as guest (macOS)
mount_afp 'afp://;AUTH=No%20User%20Authent@<target>/<volume>' /mnt/afp

Exploitation notes#

  • Time Machine volumes contain the user's files, keychains, and often credentials; mounting one is equivalent to disk access to that Mac.
  • afp-showmount lists the exported volumes and their access, which flags guest-accessible shares to target.
  • Where guest is read-write, a writable volume is a drop point or a poisoning primitive.

References#

Cookie Consent

We use cookies to enhance your experience. Learn more