`Kunena forum extension for Joomla multiple SQL injection vulnerabilities
Class: Input Validation Error
CVE: N/A
Remote: Yes
Local: No
Published: 02/07/2014
Credit: Raymond Rizk of Dionach ([email protected])
Vendor: Kunena
Vulnerable: Kunena v3.0.5
Solution Status: Fixed by Vendor
Kunena Forum is prone to multiple SQL inject vulnerabilities because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to read information stored in the database. This could allow them to retrieve the Joomla admin credentials which lead to the full compromise of the website.
Kunena v3.0.5 is known to be vulnerable. Earlier versions may also be vulnerable.
To exploit this issue, an attacker must be able to POST messages to the forum. The vulnerability affects all pages/tasks that use parameters in the form of parameter[]. This is because the array index is not being validated. An attacker can inject the SQL query between the brackets as shown in the proof of concept example below:
True condition will cause a 10 second delay in the servers response:
POST /index.php?option=com_kunena&view=home&defaultmenu=130&Itemid=128
view=topics&0b4b16219de03f54bd92a580f9d4fa43=1&topics[2)+and+(if(1%3d1,sleep(10),1))%3d1%23]=1&task=unfavorite&kcheckgo=Go
False condition will cause the server to respond without delay:
POST /index.php?option=com_kunena&view=home&defaultmenu=130&Itemid=128
view=topics&0b4b16219de03f54bd92a580f9d4fa43=1&topics[2)+and+(if(1%3d2,sleep(10),1))%3d1%23]=1&task=unfavorite&kcheckgo=Go
Vendor informed and a new version (3.0.6) was released on 28/07/2014. Vendor recommends updating Kunena to the latest version.
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation