CVE-2026-55742: Cotonti CSRF in admin.rights.php allows privilege escalation
Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the administration rights handler. In system/admin/admin.rights.php, the rights update action ('a=update') modifies group access rights (including via cotauthaddgroup) without calling cotcheckxg() to validate the anti-CSRF token. A remote attacker who lures an authenticated administrator into visiting a malicious page can force the browser to submit a forged request that grants elevated permissions to an attacker-controlled group, escalating privileges to administrator. Because Cotonti administrators can modify templates and configuration, this can be further leveraged toward remote code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Modify the rights update action in system/admin/admin.rights.php so it calls cot_check_xg() to validate the anti-CSRF token and aborts the update if the token is invalid, before modifying group access rights (including calls to cot_auth_add_group).
system/admin/admin.rights.php (Cotonti) cot_check_xg() = called before processing 'a=update'
Event History
Frequently Asked Questions
What is the severity of CVE-2026-55742?
CVE-2026-55742 has a critical severity score of 9.6.
What can CVE-2026-55742 be exploited for?
CVE-2026-55742 can be exploited to perform Cross-Site Request Forgery, allowing for privilege escalation in the administration rights handler.
How do I fix CVE-2026-55742?
To fix CVE-2026-55742, update to the latest version of Cotonti that addresses this CSRF vulnerability.
What software is affected by CVE-2026-55742?
CVE-2026-55742 affects Cotonti version 1.0.0 in the master branch.
What impact does CVE-2026-55742 have on systems?
CVE-2026-55742 can lead to unauthorized changes in user group access rights, compromising system security.