Share
## https://sploitus.com/exploit?id=PACKETSTORM:157605
Document Title:  
===============  
Tiny MySQL - Cross Site Scripting Vulnerability  
  
  
References (Source):  
====================  
https://www.vulnerability-lab.com/get_content.php?id=2252  
  
  
Release Date:  
=============  
2020-05-07  
  
  
Vulnerability Laboratory ID (VL-ID):  
====================================  
2252  
  
  
Common Vulnerability Scoring System:  
====================================  
4  
  
  
Vulnerability Class:  
====================  
Cross Site Scripting - Non Persistent  
  
  
Current Estimated Price:  
========================  
500€ - 1.000€  
  
  
Product & Service Introduction:  
===============================  
https://github.com/einars/tinymy  
  
  
Abstract Advisory Information:  
==============================  
An independent vulnerability laboratory researcher discovered a cross site web vulnerability in the Tiny MySQL console web-application.  
  
  
Vulnerability Disclosure Timeline:  
==================================  
2020-05-07: Public Disclosure (Vulnerability Laboratory)  
  
  
Discovery Status:  
=================  
Published  
  
  
Exploitation Technique:  
=======================  
Remote  
  
  
Severity Level:  
===============  
Medium  
  
  
Authentication Type:  
====================  
Pre auth - no privileges  
  
  
User Interaction:  
=================  
Low User Interaction  
  
  
Disclosure Type:  
================  
Independent Security Research  
  
  
Technical Details & Description:  
================================  
A non-persistent cross site scripting vulnerability has been discovered in the official Tiny MySQL console web-application.  
The vulnerability allows remote attackers to inject own malicious script codes with non-persistent attack vector to   
compromise browser to web-application requests from the client-side.  
  
The cross site scripting vulnerabilities are located in the `table` parameter of the `tinymy.php` file. The request method   
to inject the malicious script code is GET and the attack vector of the vulnerability is non-persistent on client-side.  
  
Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, non-persistent external   
redirects to malicious source and non-persistent manipulation of affected application modules.  
  
Request Method(s):  
[+] GET  
  
Vulnerable Parameter(s):  
[+] table  
  
  
Proof of Concept (PoC):  
=======================  
The non-persistent web vulnerability can be exploited by remote attackers without user account with low user interaction.  
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.  
  
  
PoC: Example  
https://localhost:8080/tinymy/tinymy.php?act=sel_table&table=<[NON-PERSISTENT CROSS SITE SCRIPTING!]>  
  
  
PoC: Exploitation  
http://localhost:8080/tinymy/tinymy.php?act=sel_table&table=',alert("XSS")//  
  
  
Credits & Authors:  
==================  
Milad Karimi - https://www.vulnerability-lab.com/show.php?user=Milad+Karimi  
  
Telegram : @Ex3ptionaL  
Email : miladkarimi311@yahoo.com & miladgrayhat@gmail.com  
Instagram : @m.i.l.a.d_._k.a.r.i.m.i  
  
  
Disclaimer & Information:  
=========================  
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,   
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab   
or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits   
or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do   
not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.   
We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.  
  
Domains: www.vulnerability-lab.com www.vuln-lab.com www.vulnerability-db.com  
Services: magazine.vulnerability-lab.com paste.vulnerability-db.com infosec.vulnerability-db.com  
Social: twitter.com/vuln_lab facebook.com/VulnerabilityLab youtube.com/user/vulnerability0lab  
Feeds: vulnerability-lab.com/rss/rss.php vulnerability-lab.com/rss/rss_upcoming.php vulnerability-lab.com/rss/rss_news.php  
Programs: vulnerability-lab.com/submit.php vulnerability-lab.com/register.php vulnerability-lab.com/list-of-bug-bounty-programs.php  
  
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.   
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other   
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other   
information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or   
edit our material contact (admin@ or research@) to get a ask permission.  
  
Copyright © 2020 | Vulnerability Laboratory - [Evolution Security GmbH]™