Advisory ID: HTB23186
Product: MijoSearch
Vendor: Mijosoft
Vulnerable Version(s): 2.0.1 and probably prior
Tested Version: 2.0.1
Advisory Publication: November 25, 2013 [without technical details]
Vendor Notification: November 25, 2013
Public Disclosure: December 16, 2013
Vulnerability Type: Cross-Site Scripting [CWE-79], Information Exposure Through Externally-generated Error Message [CWE-211]
CVE References: CVE-2013-6878, CVE-2013-6879
Risk Level: Medium
CVSSv2 Base Scores: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N), 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N)
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered 2 vulnerabilities in MijoSearch Joomla Extension, which can be exploited to gain access to potentially sensitive data and perform Cross-Site Scripting (XSS) attacks against users of vulnerable application.
1) Cross-site Scripting in MijoSearch: CVE-2013-6878
The vulnerability exists due to insufficient sanitisation of user-supplied data appended to "/component/mijosearch/search" URL. A remote attacker can trick a logged-in user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The following exploitation example uses the JavaScript alert() function to display "ImmuniWeb" word:
http://[host]/component/mijosearch/search?query=im%22%3E%3Cdiv%20onmouseover=alert%28%22ImmuniWeb%22%29%20style=%22width:100%;height:10000px;z-index:100%22%3E%3C/div%3E&limit=15&order=relevance&orderdir=desc
2) Information Exposure Through Externally-generated Error Message in MijoSearch: CVE-2013-6879
The vulnerability exists due to improper implementation of error handling mechanisms in "/component/mijosearch/search" URL. A remote attacker can send a specially crafted HTTP GET request to the vulnerable web application and gain knowledge of full installation path of the application.
The following exploitation example displays a warning message and installation path (if PHP "display_errors" is on)
http://[host]/component/mijosearch/search?query=im%22%3Eimmuniweb&limit=15%27%22%3Cb%3Eimmuniweb&order=relevance%27%22%3Cb%3Eimmuniweb&orderdir=desc%27%22%3Cb%3Eimmuniweb
-----------------------------------------------------------------------------------------------
Solution:
Currently we are not aware about any vendor-supplied patches or solutions. It's recommended to deactivate the vulnerable extension.
Vendor notification and disclosure timeline:
2013-11-25
Vendor notified via online ticket system
Vendor denies any vulnerabilities
Vendor authorizes us to test his website
Vulnerabilities reproduced (screenshots available)
Vendor still denies the vulnerabilities
2013-11-26
Vendor provided with exact version of vulnerable system
Vendor still denies the vulnerabilities
Vendor refuses to collaborate
Vendor refuses to confirm other vulnerable version(s)
Vendor bans one of our IPs on online ticket system
2013-12-14
Vendor suspends our user account on online ticket system
Vendor contacted again by all available emails
2013-12-16
No single reply from the vendor.
-----------------------------------------------------------------------------------------------
References:
[1] High-Tech Bridge Advisory HTB23186 - https://www.htbridge.com/advisory/HTB23186 - Multiple Vulnerabilities in MijoSearch.
[2] MijoSearch - http://mijosoft.com/joomla-extensions/mijosearch-joomla-search-engine - MijoSearch is flexible and powerful Joomla Search component with an easy-to-use interface.
[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? - http://www.htbridge.com/immuniweb/ - is High-Tech Bridge's proprietary web application security assessment solution with SaaS delivery model that combines manual and automated vulnerability testing.
-----------------------------------------------------------------------------------------------
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.