Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify Cotonti admin target
-
DeliveryHost malicious page with forged rights-update form
-
ExploitLure logged-in administrator to page
-
InstallBrowser auto-submits request with admin session cookie
-
C2Server grants admin rights to attacker group
-
ExecuteAttacker logs in and edits PHP template
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a target Cotonti 1.0.0 instance running the unpatched system/admin/admin.rights.php update handler, (2) an active authenticated administrator session in the victim's browser at the moment the malicious page is loaded, and (3) victim interaction in the form of visiting an attacker-controlled URL (UI:P in the CVSS 4.0 vector). Limiting factors: the attacker must know or guess the target site's admin URL and the parameter names consumed by the 'a=update' action, the admin must currently be logged in with a valid session cookie, and any deployment that already sets SameSite=Strict on the session cookie, fronts the admin panel with IP allowlisting, or has manually added cot_check_xg() to this handler will not be exploitable. |
| Impact | The CVSS 4.0 base score of 9.4 is driven by AV:N, AC:L, PR:N, UI:P with full vulnerable- and subsequent-system C/I/A impact, which is consistent with the description: the attacker themselves is unauthenticated, but the victim (an administrator) must passively visit a malicious page, captured by UI:P. EPSS, KEV, and SSVC signals are not provided in the input; the CVE is not on CISA KEV and no public exploit code is referenced, so realistic exploitation today is conditioned on luring a specific privileged user rather than mass-scanning. The high score is justified because a successful single CSRF chains directly into administrator privileges and, via template editing, to RCE - meaning low likelihood per attempt is offset by very high impact per success. Note the conflicting signal worth flagging: PR:N reflects the attacker, not the action, while the request itself requires an admin session in the victim's browser, so operators should reason about admin browsing hygiene, not raw network exposure. |
| Exploit ScenarioDerived | An attacker hosts a page containing an auto-submitting HTML form (or an image tag for a GET variant) targeting /system/admin/admin.rights.php?a=update with parameters that add an attacker-controlled group to the administrator rights set, and lures a logged-in Cotonti administrator to it via a phishing email, forum link, or watering-hole comment. The victim's browser silently submits the request with their session cookie, the server grants admin rights to the attacker's account, and the attacker then logs in and edits a Cotonti template to inject PHP, achieving remote code execution on the host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 18, 2026
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.
Earlier versions of this analysis (2)
Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) allows remote attackers to escalate privileges by tricking an authenticated administrator into visiting a malicious page that submits a forged rights-update request to system/admin/admin.rights.php. Because the 'a=update' action invokes cot_auth_add_group without calling cot_check_xg() to validate the anti-CSRF token, the forged request grants elevated permissions to an attacker-controlled group and can be chained to remote code execution via template or configuration modification. No public exploit identified at time of analysis, and there is no CISA KEV listing.
Privilege escalation in Cotonti 1.0.0 (master branch commit f43f1fc3) allows remote attackers to elevate an attacker-controlled group to administrator by tricking an authenticated admin into visiting a malicious page that submits a forged rights-update request. The admin.rights.php handler omits the cot_check_xg() anti-CSRF check on the 'a=update' action, and post-escalation the attacker can pivot to remote code execution via template or configuration modification. No public exploit identified at time of analysis, though a one-click CSRF PoC is trivial to construct from the disclosed code path.
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).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Cotonti gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
3DescriptionCVE.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
Executive ViewAI
A critical vulnerability in Cotonti 1.0.0 allows remote attackers to compromise administrator accounts through social engineering attacks, bypassing authentication protections. Affected administrators can then modify system configuration and code templates to establish persistent backdoors, creating an uncontrolled pathway for attackers to steal data, disrupt operations, or establish long-term access.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to sensitive admin endpoints if technically possible; (2) Disable or require secondary approval for admin privilege and template modification requests; (3) Conduct security awareness training on admin-targeting social engineering techniques; (4) Implement enhanced monitoring and alerting on administrator account activity for detection of unauthorized changes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
SQL injection vulnerability in modules/rss/rss.php in Cotonti before 0.9.14 allows remote attackers to execute arbitrary
PHP object injection in the Cotonti 1.0.0 Comments plugin allows unauthenticated, network-reachable attackers to instant
A vulnerability has been found in Cotonti Siena v0.9.25. Affected by this vulnerability is the file /admin.php?m=config&
Cotonti Siena 0.9.19 contains a stored cross-site scripting vulnerability in the admin configuration panel's site title
A stored cross-site scripting (XSS) vulnerability in the Edit Page function of Cotonti CMS v0.9.24 allows authenticated
Unauthenticated attackers can reset the password of any Cotonti account, including administrator accounts, because passw
Cotonti Siena 0.9.20 allows admins to conduct stored XSS attacks via a direct message (DM). Rated medium severity (CVSS
Cotonti Siena 0.9.20 allows admins to conduct stored XSS attacks via a forum post. Rated medium severity (CVSS 4.8), thi
Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) administration configuration handler allows a remote attac
Cross-Site Request Forgery in the Personal File Storage (PFS) module of Cotonti 1.0.0 (commit f43f1fc3) allows remote at
PHP object injection in Cotonti 1.0.0 allows authenticated users with comment-write permissions to pass attacker-control
PHP Object Injection in Cotonti CMS's Comments plugin grants any authenticated member a deserialization primitive reacha
EUVD-2026-37854
GHSA-7g3p-35vc-mgjr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB