Apple Airport Extreme Password Extraction (WDBRPC) - Metasploit


This page contains detailed information about how to use the auxiliary/admin/vxworks/apple_airport_extreme_password metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: Apple Airport Extreme Password Extraction (WDBRPC)
Module: auxiliary/admin/vxworks/apple_airport_extreme_password
Source code: modules/auxiliary/admin/vxworks/apple_airport_extreme_password.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 17185
List of CVEs: -

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.

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/vxworks/apple_airport_extreme_password
msf auxiliary(apple_airport_extreme_password) > show targets
    ... a list of targets ...
msf auxiliary(apple_airport_extreme_password) > set TARGET target-id
msf auxiliary(apple_airport_extreme_password) > show options
    ... show and set options ...
msf auxiliary(apple_airport_extreme_password) > 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/vxworks/apple_airport_extreme_password auxiliary module looks in the msfconsole:

msf6 > use auxiliary/admin/vxworks/apple_airport_extreme_password

msf6 auxiliary(admin/vxworks/apple_airport_extreme_password) > show info

       Name: Apple Airport Extreme Password Extraction (WDBRPC)
     Module: auxiliary/admin/vxworks/apple_airport_extreme_password
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  hdm <[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   17185            yes       The target port

Description:
  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.

References:
  OSVDB (66842)
  http://blog.metasploit.com/2010/08/vxworks-vulnerabilities.html
  https://www.kb.cert.org/vuls/id/362332

Module Options


This is a complete list of options available in the admin/vxworks/apple_airport_extreme_password auxiliary module:

msf6 auxiliary(admin/vxworks/apple_airport_extreme_password) > show options

Module options (auxiliary/admin/vxworks/apple_airport_extreme_password):

   Name    Current Setting  Required  Description
   ----    ---------------  --------  -----------
   RHOSTS                   yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT   17185            yes       The target port

Advanced Options


Here is a complete list of advanced options supported by the admin/vxworks/apple_airport_extreme_password auxiliary module:

msf6 auxiliary(admin/vxworks/apple_airport_extreme_password) > show advanced

Module advanced options (auxiliary/admin/vxworks/apple_airport_extreme_password):

   Name       Current Setting  Required  Description
   ----       ---------------  --------  -----------
   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/vxworks/apple_airport_extreme_password module can do:

msf6 auxiliary(admin/vxworks/apple_airport_extreme_password) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the admin/vxworks/apple_airport_extreme_password auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(admin/vxworks/apple_airport_extreme_password) > show evasion

Module evasion options:

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

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.

No response to connection request


Here is a relevant code snippet related to the "No response to connection request" error message:

50:	
51:	
52:	    wdbrpc_client_connect
53:	
54:	    if not @wdbrpc_info[:rt_vers]
55:	      print_error("No response to connection request")
56:	      return
57:	    end
58:	
59:	    membase = @wdbrpc_info[:rt_membase]
60:	    found   = false

The password could not be located


Here is a relevant code snippet related to the "The password could not be located" error message:

88:	      end
89:	
90:	      if pass
91:	        print_good("Password for this access point is '#{pass}'")
92:	      else
93:	        print_error("The password could not be located")
94:	      end
95:	      break
96:	    end
97:	
98:	    if not found

No matching fingerprint for this access point


Here is a relevant code snippet related to the "No matching fingerprint for this access point" error message:

94:	      end
95:	      break
96:	    end
97:	
98:	    if not found
99:	      print_error("No matching fingerprint for this access point")
100:	    end
101:	
102:	    wdbrpc_client_disconnect
103:	  end
104:	end

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • hdm

Version


This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.