#############################################################
#
# EZMAX SECURITY ADVISORY
# https://www.ezmax.ca/
#
#############################################################
#
# Product:  Loading Docs
# Vendor:   Lone Wolf Technologies (http://www.lwolf.com)
# CVE ID:   CVE-2018-15502
# Subject:  Insecure permissions allow remote attackers to download any confidential files via https requests for predictable URLs.
# Risk:     High
# Effect:   Remotely exploitable
# Author:   Ian Lord (ian.lord@ezmax.ca)
# Date:     2018-08-13
#
#############################################################


Introduction:
-------------
Loading Docs is an electronic document management used in real estate brokerages to store confidential customer's files related to real estate transactions.


Affected:
---------
Loading docs: Tested 2018-08-13

Technical Description:
----------------------

All the files in loading docs are publicly accessible without any protection whatsoever.

Here are example of the files that can be accessed without any security validation:
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042919
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042917
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042916
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042915
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042912
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042910
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042939
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042938
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042937
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042934
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042933
https://br1408-connect.globalwolfweb.com/GetFile.aspx?fsg=90916c11-c41b-704042931

Just randomly changing the number at the end gives access to multiple files from apparently multiple customers.

So anyone using a robot could download thousands of files containing sensitive information. (Brokerage contracts, trust account details, Fintrac details, etc).

We don't even need to be logged in the software as these URLS are public facing without any session or user validation.

Timeline:
---------
2018-08-03:     Discovery by Ian Lord, e-Z-max Solutions (https://www.ezmax.ca/)
2018-08-13:	Request for CVE number
2018-08-17:	Assigned CVE-2018-15502
2018-08-17:	Initial vendor notification
2018-08-29:	Second vendor notification
2018-09-05:	Initial vendor response
2018-09-06:	Vendor confirms that the vulnerability has been addressed
2018-09-10:	Public disclosure date