CVE-2026-55741: Cotonti CSRF in admin.config.php allows unauthorized configuration changes
Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the administration configuration handler. In system/admin/admin.config.php, the configuration update action ('a=update') processes POST data via cotconfigupdateoptions() without calling cotcheckxg() to validate the anti-CSRF token (the 'x' parameter), unlike other admin handlers (e.g. admin.structure.php, admin.cache.php). A remote attacker who lures an authenticated administrator into visiting a malicious page can force the browser to submit a forged request that modifies arbitrary core, module, or plugin configuration options, which can be leveraged to weaken security or enable further compromise.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
In system/admin/admin.config.php, add a call to cot_check_xg() to validate the anti-CSRF token (the 'x' parameter) before invoking cot_config_update_options() for the 'a=update' configuration update action; this ensures the request is protected against CSRF.
Cotonti system/admin/admin.config.php cot_check_xg() = call before processing POST for a=update
Event History
Frequently Asked Questions
What is the severity of CVE-2026-55741?
CVE-2026-55741 has a severity rating of high with a score of 8.8.
What vulnerability does CVE-2026-55741 describe?
CVE-2026-55741 describes a Cross-Site Request Forgery vulnerability in the admin configuration handler of Cotonti.
How do I fix CVE-2026-55741?
To fix CVE-2026-55741, ensure that cot_check_xg() is called to validate configuration update actions in the system/admin/admin.config.php file.
Who is affected by CVE-2026-55741?
CVE-2026-55741 affects users of Cotonti version 1.0.0 from the master branch, specifically commit f43f1fc3.
What impact does CVE-2026-55741 have on applications?
CVE-2026-55741 allows unauthorized configuration changes by exploiting Cross-Site Request Forgery in Cotonti applications.