Skip to main content

Cotonti CVE-2026-55742

| EUVDEUVD-2026-37854 CRITICAL
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-06-18 TuranSec GHSA-7g3p-35vc-mgjr
9.4
CVSS 4.0 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify Cotonti admin target
  2. Delivery
    Host malicious page with forged rights-update form
  3. Exploit
    Lure logged-in administrator to page
  4. Install
    Browser auto-submits request with admin session cookie
  5. C2
    Server grants admin rights to attacker group
  6. Execute
    Attacker logs in and edits PHP template
  7. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 18, 2026 - 08:43 cvss changed CVSS 9.4

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.

v1 Jun 18, 2026 - 08:00 CVSS 9.6

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

Cotonti 1.0.0

Affected Packages

composer cotonti/cotonti no fix
euvd cotonti no fix

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

Vendor (TuranSec) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

3
Analysis Updated
Jun 18, 2026 - 08:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 18, 2026 - 08:43 vuln.today
v2 - CVSS changed
CVSS changed
Jun 18, 2026 - 08:37 NVD
9.6 (CRITICAL) 9.4 (CRITICAL)

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.2%
Top 87% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2013-4789 HIGH POC
7.5 Aug 09

SQL injection vulnerability in modules/rss/rss.php in Cotonti before 0.9.14 allows remote attackers to execute arbitrary

CVE-2026-91939 CRITICAL
9.3 Sep 15

PHP object injection in the Cotonti 1.0.0 Comments plugin allows unauthenticated, network-reachable attackers to instant

CVE-2025-44115 MEDIUM POC
5.4 Jun 02

A vulnerability has been found in Cotonti Siena v0.9.25. Affected by this vulnerability is the file /admin.php?m=config&

CVE-2021-47808 MEDIUM POC
5.4 Jan 16

Cotonti Siena 0.9.19 contains a stored cross-site scripting vulnerability in the admin configuration panel's site title

CVE-2024-24115 MEDIUM POC
5.4 Feb 08

A stored cross-site scripting (XSS) vulnerability in the Edit Page function of Cotonti CMS v0.9.24 allows authenticated

CVE-2026-93868 CRITICAL
9.2 Sep 18

Unauthenticated attackers can reset the password of any Cotonti account, including administrator accounts, because passw

CVE-2022-39840 MEDIUM POC
4.8 Sep 05

Cotonti Siena 0.9.20 allows admins to conduct stored XSS attacks via a direct message (DM). Rated medium severity (CVSS

CVE-2022-39839 MEDIUM POC
4.8 Sep 05

Cotonti Siena 0.9.20 allows admins to conduct stored XSS attacks via a forum post. Rated medium severity (CVSS 4.8), thi

CVE-2026-55741 HIGH
8.7 Jun 18

Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) administration configuration handler allows a remote attac

CVE-2026-55744 HIGH
8.6 Jun 18

Cross-Site Request Forgery in the Personal File Storage (PFS) module of Cotonti 1.0.0 (commit f43f1fc3) allows remote at

CVE-2026-93872 HIGH
7.7 Sep 18

PHP object injection in Cotonti 1.0.0 allows authenticated users with comment-write permissions to pass attacker-control

CVE-2026-71294 HIGH
7.6 Aug 05

PHP Object Injection in Cotonti CMS's Comments plugin grants any authenticated member a deserialization primitive reacha

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy