Lucene search
K

Yahei-PHP Prober 0.4.7 HTML Injection

🗓️ 25 Jul 2019 00:00:00Reported by LiquidWormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 81 Views

Yahei-PHP Prober v0.4.7 (speed) Remote HTML Injection Vulnerability. Input passed to the 'speed' parameter is not properly sanitized before being returned to the user, allowing arbitrary HTML code execution

Code
`  
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']>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']."</font> Millisecond, Download Speed: "."<font color='#cc0000'>".$speed."</font>"." kb/s":"<font color='#cc0000'>&nbsp;No Test&nbsp;</font>" ?>  
  
-----------------------------------------------------------------------  
  
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>  
`

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