header-logo
Suggest Exploit
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
Source

Exploit-DB raw data:

Vendor/Product: Kunena
Vulnerable Versions: < 1.5.14; < 1.6.3
Vulnerability Type: SQL Injection & information leakage
Risk level: High

Vulnerability Details:
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.  This can not be disabled in the
1.5.x branch, in 1.6.x branch it can be disabled via "display_errors = off".


Recommendations:
If using the 1.5.x branch, 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

http://www.kunena.org/download


Proof of Concept:
http://localhost/index.php/forum/advsearch?q=hilfe&catids=5\%27


Regards,
Red Matter Inc.