vendor:
Kunena
by:
Red Matter Inc.
7.5
CVSS
HIGH
SQL Injection & Information Leakage
89
CWE
Product Name: Kunena
Affected Version From: < 1.5.14
Affected Version To: < 1.6.3
Patch Exists: YES
Related CWE: Not available
CPE: Kunena
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Not available
Not available
Kunena SQL Injection & Information Leakage
Because parameterized queries were not used, and adequate input sanitization was not done on the catids parameter on the advanced search page, it is possible for an attacker to run limited SQL commands on the server. Furthermore, when exploited with invalid SQL, it provides the full stacktrace. This gives the attacker the exact version of Kunena, PHP, and MySQL along with path to kunena.search.class.php. This path often starts with /home/username which discloses the username, which can then be used to launch further attacks.
Mitigation:
Upgrade to 1.5.14 and consider moving to the 1.6.x branch. If using the 1.6.x branch, upgrade to 1.6.3 and set "display_errors = off" to mitigate any damage for potential future issues