Advisory ID: HTB23221
Product: MyWebSQL
Vendor: http://mywebsql.net/
Vulnerable Version(s): 3.4 and probably prior
Tested Version: 3.4
Advisory Publication:  June 25, 2014  [without technical details]
Vendor Notification: June 25, 2014 
Public Disclosure: September 3, 2014 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2014-4735
Risk Level: Low 
CVSSv2 Base Score: 2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status: Solution Available
Discovered and Provided: High-Tech Bridge Security Research Lab ( 
https://www.htbridge.com/advisory/ ) 

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

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in MyWebSQL, 
which can be exploited to perform Cross-Site Scripting (XSS) attacks.


1) Reflected Cross-Site Scripting (XSS) in MyWebSQL: CVE-2014-4735

The vulnerability is caused by insufficient sanitization of the "table" HTTP 
GET parameter passed to "/index.php" script. A remote attacker can trick a 
logged-in administrator to open a specially crafted link and execute arbitrary 
HTML and script code in browser in context of vulnerable website. Further 
exploitation of this vulnerability may grant an attacker full access to the 
website's databases and get complete control over it.

The following exploitation example uses the alert() JavaScript function to 
display "immuniweb" word:

http://[host]/?q=wrkfrm&type=exporttbl&table=%27;%3C/script%3E%3Cscript%3Ealert%28%27immuniweb%27%29;%3C/script%3E



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

Solution:

Disclosure timeline:
2014-06-25 Vendor alerted via emails and contact form.
2014-07-03 Vendor alerted via emails, contact form and twitter.
2014-07-03 Vendor replied that he received information.
2014-07-10 Fix requested.
2014-07-10 Vendor requested to move public disclosure date to August 30.
2014-08-27 Fix requested.
2014-08-27 Vendor didn't release any patch and agreed to disclose on August 30 
without patch.
2014-08-27 Disclosure date moved to September 3.
2014-09-01 Fix requested.
2014-09-03 Public disclosure, patch by HTB Research is available.

Currently we are not aware of any official solution for this vulnerability.
Unofficial patch was developed by High-Tech Bridge Security Research Lab and is 
available here: https://www.htbridge.com/advisory/HTB23221-patch.zip

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

References:

[1] High-Tech Bridge Advisory HTB23221 - 
https://www.htbridge.com/advisory/HTB23221 - Cross-Site Scripting (XSS) in 
MyWebSQL.
[2] MyWebSQL - http://mywebsql.net/ - MyWebSQL is the ultimate desktop 
replacement for managing your MySQL databases over the web.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - 
international in scope and free for public use, CVE® is a dictionary of 
publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to 
developers and security practitioners, CWE is a formal list of software 
weakness types.
[5] ImmuniWeb® SaaS - https://www.htbridge.com/immuniweb/ - hybrid of manual 
web application penetration test and cutting-edge vulnerability scanner 
available online via a Software-as-a-Service (SaaS) model.

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

Disclaimer: The information provided in this Advisory is provided "as is" and 
without any warranty of any kind. Details of this Advisory may be updated in 
order to provide as accurate information as possible. The latest version of the 
Advisory is available on web page [1] in the References.

Reply via email to