Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify Cotonti admin target
-
DeliveryHost malicious CSRF page
-
ExploitLure logged-in admin to page
-
InstallBrowser auto-submits forged config update
-
C2Cotonti accepts request without token check
-
ExecuteMalicious configuration persisted
-
ImpactLeverage weakened config for follow-on compromise
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 | Requires (1) a target running Cotonti at or near commit f43f1fc3 with the admin configuration module present, (2) an administrator who is currently logged in with an active session cookie in the same browser, (3) that administrator visiting attacker-controlled content (UI:P in CVSS), and (4) the browser not enforcing SameSite=Lax/Strict on the Cotonti session cookie for the request method used. Exploitation is limited by the need for social engineering against a specific privileged user and by modern browsers' default SameSite=Lax behavior, which blocks cross-site POST submissions unless the site explicitly opts out - sites that have not set SameSite=None are de facto protected against the form-POST variant by current Chromium/Firefox defaults. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) scores 8.7 by treating the victim administrator's session as the privilege source - the attacker themselves needs no credentials, only the victim's interaction (UI:P) with a malicious page while logged in. Real-world risk is meaningfully lower than the headline score implies because exploitation requires an active admin session in the targeted browser and successful social engineering to visit attacker-controlled content; this is not a wormable or scanner-discoverable flaw. EPSS and KEV data were not provided and no public exploit is identified, suggesting opportunistic rather than mass exploitation. Worth noting: PR:N in the CVSS vector reflects attacker prerequisites, not the targeted endpoint's protection model - the endpoint itself is admin-only, which limits the blast radius to deployments with active admins browsing untrusted content. |
| Exploit ScenarioDerived | An attacker crafts a webpage containing a hidden auto-submitting HTML form (or fetch() call) targeting /admin.php?m=config&a=update with POST fields that change a security-relevant Cotonti option - for example, disabling registration approval, enabling debug output that leaks paths, or pointing a plugin's callback URL to attacker infrastructure. The attacker lures a logged-in Cotonti administrator to that page (phishing email, comment spam, watering-hole), and the victim's browser silently submits the request with their admin session cookie, applying the configuration change. No public proof-of-concept is referenced in the supplied data, but the root cause is mechanically simple and well-described. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jun 18, 2026
Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) administration configuration handler allows a remote attacker to coerce an authenticated administrator's browser into silently modifying arbitrary core, module, or plugin configuration options. The flaw in system/admin/admin.config.php stems from the 'a=update' action invoking cot_config_update_options() without the cot_check_xg() anti-CSRF token check used elsewhere in the admin panel. No public exploit identified at time of analysis, though the root cause is well-documented at the source line level by the reporter (TuranSec).
Earlier versions of this analysis (1)
Cross-site request forgery in the Cotonti CMS 1.0.0 administration configuration handler allows remote attackers to modify arbitrary system, module, or plugin configuration values by tricking a logged-in administrator into loading attacker-controlled content. The flaw stems from a missing anti-CSRF token check in admin.config.php's update action and has no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis. The structural fix is to add a cot_check_xg() call (matching the pattern already used in admin.structure.php and admin.cache.php) at the top of the 'a=update' branch in system/admin/admin.config.php near line 55, rejecting requests whose 'x' token does not match the session value. Until an upstream release ships, administrators should apply this one-line guard locally, restrict admin panel access by IP allowlist or VPN to reduce the attack surface for CSRF lures, and adopt strict session hygiene (log out of the admin panel before browsing other sites, use a dedicated browser profile for administration). Setting the session cookie's SameSite attribute to Lax or Strict via PHP or web-server configuration blocks most cross-site POST flows but may break legitimate cross-origin admin workflows if any exist. Track upstream at https://github.com/Cotonti/Cotonti for a tagged fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cotonti is a PHP-based open-source content management framework. The vulnerability is a classic CWE-352 (Cross-Site Request Forgery) defect: the admin configuration update endpoint accepts POST submissions and persists them via cot_config_update_options() but skips the framework's own cot_check_xg() helper that validates the 'x' anti-CSRF token parameter. Other admin handlers in the same codebase (admin.structure.php, admin.cache.php) do call cot_check_xg(), making this an inconsistent omission rather than a missing primitive. The CPE cpe:2.3:a:cotonti:cotonti:*:*:*:*:*:*:*:* shows all versions are flagged pending vendor confirmation, but the reporter specifically pins the issue to commit f43f1fc3 on the master branch labeled 1.0.0.
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:N/SI:N/SA:N
Network-delivered CSRF requires no attacker privileges (PR:N) but needs admin victim interaction (UI:R); successful config tampering yields full C/I/A impact within the application scope.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Cotonti 1.0.0 contains a cross-site request forgery (CSRF) vulnerability in its administration panel that allows attackers to trick authenticated administrators into silently modifying core system configurations. This could result in unauthorized changes to security settings, module configurations, or plugin behavior without administrator awareness or consent. Organizations running Cotonti should treat this as a critical configuration integrity risk requiring immediate compensating controls.
Implement WAF rules to detect CSRF token mismatches; enforce SameSite=Strict on all session cookies; restrict admin panel access via IP whitelisting; disable external access to /system/admin/ unless required; implement mandatory re-authentication for sensitive configuration changes; conduct daily audits of admin panel access logs for unauthorized configuration modifications.
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.
SQL injection vulnerability in modules/rss/rss.php in Cotonti before 0.9.14 allows remote attackers to execute arbitrary
Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) lets a remote attacker escalate privileges to administrato
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 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-37853
GHSA-7w6j-5mfv-gf3p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB