Lucene search
+L

Yahei-PHP Prober v0.4.7 (speed) Remote HTML Injection Vulnerability

🗓️ 24 Jul 2019 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 367 Views

Yahei-PHP Prober v0.4.7 Remote HTML Injection Vulnerability. Input 'speed' parameter not properly sanitized, leading to XSS

Related
Code
<html><body><p>Yahei-PHP Prober v0.4.7 (speed) Remote HTML Injection Vulnerability


Vendor: Yahei.Net
Product web page: http://www.yahei.net
Affected version: 0.4.7

Summary: Detection of system web server operating environment.

Desc: Input passed to the GET parameter 'speed' is not properly
sanitised before being returned to the user. This can be exploited
to execute arbitrary HTML code in a user's browser session in context
of an affected site.

-----------------------------------------------------------------------
/prober.php:
---------

206: elseif(isset($_GET['speed']) and $_GET['speed']&gt;0)
207: {
208:    $speed=round(100/($_GET['speed']/1000),2); //下载速度: $speed kb/s
209: }
...
...
1393:   <?php echo (isset($_GET['speed']))?"Download 1000KB Used <font color='#cc0000'>".$_GET['speed']." Millisecond, Download Speed: "."<font color="#cc0000">".$speed."</font>"." kb/s":"<font color="#cc0000"> No Test </font>" ?&gt;

-----------------------------------------------------------------------

Tested on: OneinStack (Linux 3.10.0-862.14.4.el7.x86_64)
           nginx/1.14.0
           PHP/7.2.11


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2019-5531
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5531.php


16.07.2019

--


PoC:

http://domain.local:80/prober.php?speed=<marquee>marq</marquee>
</p></body></html>

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

24 Jul 2019 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 45.1
CVSS 3.16.1
EPSS0.00284
SSVC
367