Cotonti CSRF in admin.rights.php allows privilege escalation
Description
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 cot_auth_add_group) without calling cot_check_xg() 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cotonti/cotontiPackagist | <= 1.0.0 | — |
Affected products
1Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-7g3p-35vc-mgjrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-55742ghsaADVISORY
- github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.phpghsatechnical-descriptionWEB
News mentions
0No linked articles in our index yet.