Vulnerability record · CVE-2006-5702 · published 4 November 2006
CVE-2006-5702: Tikiwiki empty sort_mode parameter exposes MySQL credentials
Tiki · Tikiwiki Cms\/Groupware
Tikiwiki 1.9.5 fails to handle an empty sort_mode parameter safely across 21 scripts, causing database error messages that disclose the MySQL username and password. Because the leaked credentials grant direct database access, this is more serious than a typical information disclosure.
Description
Tikiwiki 1.9.5 allows remote attackers to obtain sensitive information (MySQL username and password) via an empty sort_mode parameter in (1) tiki-listpages.php, (2) tiki-lastchanges.php, (3) messu-archive.php, (4) messu-mailbox.php, (5) messu-sent.php, (6) tiki-directory_add_site.php, (7) tiki-directory_ranking.php, (8) tiki-directory_search.php, (9) tiki-forums.php, (10) tiki-view_forum.php, (11) tiki-friends.php, (12) tiki-list_blogs.php, (13) tiki-list_faqs.php, (14) tiki-list_trackers.php, (15) tiki-list_users.php, (16) tiki-my_tiki.php, (17) tiki-notepad_list.php, (18) tiki-orphan_pages.php, (19) tiki-shoutbox.php, (20) tiki-usermenu.php, and (21) tiki-webmail_contacts.php, which reveal the information in certain database error messages.
AV:N/AC:L/Au:N/C:P/I:N/A:N
Automated analysis
high priorityUnauthenticated credential disclosure with public exploit references and very high EPSS, though the CVSS v2 score is only 5.0.
What it is
Tikiwiki 1.9.5 fails to handle an empty sort_mode parameter safely across 21 scripts, causing database error messages that disclose the MySQL username and password. Because the leaked credentials grant direct database access, this is more serious than a typical information disclosure.
Impact
An unauthenticated attacker learns the MySQL username and password, enabling direct database access to read or alter application data.
Attack surface
Reachable over the network by sending requests with an empty sort_mode parameter to any of the listed Tikiwiki scripts; no authentication or user interaction is required per the AV:N/AC:L/Au:N vector.
Exploitation
No CISA KEV listing, but EPSS is 0.53321 (99th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit material exists.
What to do
- Upgrade Tikiwiki to a version later than 1.9.5 that fixes the empty sort_mode handling, or apply the vendor/Gentoo GLSA-200611-11 update.
- Suppress database error output in production so credentials are never rendered to users.
- Rotate the MySQL credentials used by Tikiwiki, since they may already be exposed.
- Restrict database account privileges and network access to the database server.
Detection
- Search web logs for requests to the listed Tikiwiki scripts with an empty or missing sort_mode parameter.
- Monitor application responses for database error strings containing MySQL credentials.
- Alert on unexpected direct connections to the MySQL server from non-application hosts.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2006-5702 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2006-5702), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.