Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attacker is unauthenticated (PR:N) but needs victim admin to click (UI:R); forged request crosses trust boundary into admin context (S:C) with full C/I/A impact via template-driven RCE.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
5DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) lets a remote attacker escalate privileges to administrator by tricking a logged-in admin into loading an attacker-controlled page that submits a forged rights-update request to system/admin/admin.rights.php. Because Cotonti administrators can edit templates and configuration, the resulting account can be pivoted to remote code execution on the host. No public exploit identified at time of analysis and the issue is not listed in CISA KEV.
Technical ContextAI
Cotonti is an open-source PHP content management framework that exposes a per-group access-rights editor at system/admin/admin.rights.php. The application ships an anti-CSRF helper, cot_check_xg(), that validates a per-session token (the 'xg' parameter) before sensitive state changes; however, the 'a=update' branch in admin.rights.php invokes cot_auth_add_group() and the surrounding rights-mutation logic without first calling cot_check_xg(). This is a textbook CWE-352 (Cross-Site Request Forgery) instance: the server trusts the authenticated session cookie alone, so any cross-origin form or image-tag triggered request the browser submits while the admin is logged in is treated as a legitimate administrative action. The affected component is identified by CPE cpe:2.3:a:cotonti:cotonti:*:*:*:*:*:*:*:* and the vulnerable source line is referenced upstream at github.com/Cotonti/Cotonti commit f43f1fc3.
RemediationAI
No vendor-released patch identified at time of analysis; operators should monitor https://github.com/Cotonti/Cotonti for an upstream commit that adds a cot_check_xg() call (or equivalent xg-token validation) to the 'a=update' branch of system/admin/admin.rights.php and apply it as soon as it is tagged. As an interim fix, site maintainers can locally patch admin.rights.php to invoke cot_check_xg() at the top of the update action and reject requests lacking a valid xg token, which directly closes the root cause with minimal side effects beyond breaking any external tooling that posts to that endpoint without a token. Compensating controls until a patch lands include restricting access to /system/admin/* at the web-server or WAF layer to known administrator source IPs (side effect: breaks legitimate admin access from other networks), requiring administrators to use a dedicated browser profile or container for Cotonti administration so attacker-controlled tabs cannot share the session cookie, and setting the session cookie's SameSite attribute to Strict in PHP configuration (side effect: may log admins out when arriving from external links).
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-37854
GHSA-7g3p-35vc-mgjr