Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

File afp-path-vuln

Download: http://nmap.org/svn/scripts/afp-path-vuln.nse

User Summary

Detects the Mac OS X AFP directory traversal vulnerability, CVE-2010-0533.

This script attempts to iterate over all AFP shares on the remote host. For each share it attempts to access the parent directory by exploiting the directory traversal vulnerability as described in CVE-2010-0533.

The script reports whether the system is vulnerable or not. In addition it lists the contents of the parent and child directories to a max depth of 2. When running in verbose mode, all items in the listed directories are shown. In non verbose mode, output is limited to the first 5 items. If the server is not vulnerable, the script will not return any information.

For additional information:

Script Arguments

afp.username

The username to use for authentication. (If unset it first attempts to use credentials found by afp-brute then no credentials)

afp.password

The password to use for authentication. (If unset it first attempts to use credentials found by afp-brute then no credentials)

Example Usage

nmap -sV --script=afp-path-vuln <target>

Script Output

PORT    STATE SERVICE
548/tcp open  afp
| afp-path-vuln:  
|   Patrik Karlsson's Public Folder/../ (5 first items)
|     .bash_history
|     .bash_profile
|     .CFUserTextEncoding
|     .config/
|     .crash_report_checksum
|   
|_AFP path traversal (CVE-2010-0533): VULNERABLE

Requires


Categories: vuln safe

Author: Patrik Karlsson

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]