******************************************
# Exploit Title: PHP Scripts Mall Advance B2B Script 2.1.4 has Directory traversal via a direct request for a listing of an image directory such as an assets/ directory
# Date: 30.12.2018
# Site Title : Entrepreneur B2B Script
# Vendor Homepage: https://www.phpscriptsmall.com/
# Software Link: http://198.38.86.159/~nced2bvda/index.php
# Category: Web Application
# Version: 2.1.4
# Exploit Author: Vikas Chaudhary
# Contact: https://www.facebook.com/profile.php?id=100011287630308
# Web: https://gkaim.com/
# Tested on: Windows 10 -Firefox
# CVE-2018-20635.
*****************************************
# VENDOR SUMMARY :- PHP Scripts Mall Pvt. Ltd. is a professional software selling portal offering wide range of innovative.
PHP Scripts Mall is a leading business and technology firm with 12 years of successful track record
in completion and implementation of numerous projects in various verticals and domains..
It has 300 plus PHP scripts ready to buy.

## Vulnerability Description => A path traversal attack (also known as directory traversal) aims to access files and directories that are stored outside the web root folder. By manipulating variables that reference files with “dot-dot-slash (../)” sequences and its variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system including application source code or configuration and critical system files.

*****************************************
Proof of Concept:-
————————–
1- Go to Site (http://198.38.86.159/~nced2bvda/index.php)
2- Click on => Register => and then fill the Form using your mail id ,
3-Now fill the Captcha and click on submit
4-Goto your mail and Verify it.
5-Login to your Account and then spider the Host through Burpsuit .
6- Pick any URL having image or any script . Ex- http://198.38.86.159/~nced2bvda/assets/font/NotoSans-hinted/LICENSE_OFL%20(2).txt
7-Now Erase the url from last , you will find all the directory. Ex- http://198.38.86.159/~nced2bvda/assets/

* Also test it from Intruder .
**********************************************