Description
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 cot_config_update_options() without calling cot_check_xg() 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.
Problem types
CWE-352 Cross-Site Request Forgery (CSRF)
Product status
1.0.0 (semver)
Credits
Saidakbarxon Maxsudxonov (sermikro), Innova Networks
References
github.com/...9dac1435c7c52b30/system/admin/admin.config.php (Vulnerable code: system/admin/admin.config.php)
github.com/Cotonti/Cotonti