Skip to main content

Cotonti CMS EUVDEUVD-2026-53379

| CVE-2026-71294 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-08-05 TuranSec GHSA-rm37-v7mc-6795
7.6
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Recon
    Register standard member account
  2. Delivery
    Craft serialized MySQL_cache (or other gadget) PHP object
  3. Exploit
    Base64-encode serialized payload
  4. Install
    POST payload as ci parameter to CreateAction.php
  5. C2
    PHP deserializes object without allowed_classes restriction
  6. Execute
    Garbage collection triggers __destruct() POP chain
  7. Impact
    Attacker-controlled SQL INSERT executed against cot_cache table

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, 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 of the CreateAction and EditAction sinks requires a valid authenticated member account with comment write access, which is the default state under the Auth_members => 'RW' configuration in plugins/comments/comments.setup.php - any registered user on a default Cotonti installation qualifies without elevated privilege. No additional non-default configuration is required for the primitive itself. The specific impact achieved depends on which PHP classes are present in the runtime at the moment of deserialization; the MySQL_cache __destruct chain is confirmed to produce attacker-controlled SQL writes, while RCE impact requires additional gadget chains whose presence varies per installation. The DeleteAction.php sink is not reachable by ordinary members and requires admin-level authorization, limiting it to a much smaller attacker population. Installations with closed registration or manually vetted membership substantially reduce practical risk, but the vulnerability is not configuration-gated - it exists in any default deployment.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L and score of 7.6 accurately reflect a network-reachable, low-complexity attack requiring only a standard authenticated member account - the default permission level under Auth_members => 'RW'. Scope:Unchanged and the modest I:L/A:L ratings are appropriate given the demonstrated impact is a controlled SQL INSERT rather than confirmed arbitrary code execution; C:H anticipates the broader gadget-chain surface. No EPSS score was provided, so exploitation probability cannot be quantified probabilistically. No CISA KEV entry exists, but the researcher (TuranSec) has confirmed a working POP chain in practice, making this a genuine exploitable condition rather than a theoretical CWE mapping. The primary limiting factor is PR:L: mass exploitation is blocked by the registration requirement, but any site permitting public member sign-up is fully exposed. Sites with restricted or trusted-only membership reduce risk materially but do not eliminate it. This is a real priority for public-facing Cotonti deployments, not a high-CVSS-but-low-real-risk paper vulnerability.

Exploit ScenarioDerived

An attacker registers a standard member account on a Cotonti site with default settings, serializes a crafted PHP object targeting the MySQL_cache class (or another loaded gadget), base64-encodes the payload, and submits it as the ci POST parameter when posting a new comment. PHP deserializes the object without class restriction; when the resulting instance is garbage-collected, its __destruct() method fires and executes the POP chain, causing an attacker-controlled INSERT INTO cot_cache with researcher-chosen row values. A working proof-of-concept for this chain was confirmed by TuranSec, and additional gadget chains in the loaded class set could extend impact toward RCE.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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

AnalysisAIv1 – Aug 05, 2026

PHP Object Injection in Cotonti CMS's Comments plugin grants any authenticated member a deserialization primitive reachable via two default-accessible sinks, with a working POP chain already demonstrated by the researcher. The ci POST parameter in CreateAction.php and the cb parameter in EditAction.php are both base64-decoded and passed to unserialize() without an allowed_classes restriction, allowing instantiation of any class loaded in the PHP runtime. A proof-of-concept using Cotonti's built-in MySQL_cache class was confirmed to trigger attacker-controlled SQL INSERT operations via __destruct()->flush(); further impact including RCE is contingent on additional gadget chains available in a given installation. No public exploit code has been released and no CISA KEV listing exists at time of analysis.

RemediationAI

No vendor-released patched version has been identified at time of analysis; monitor https://github.com/Cotonti/Cotonti for upstream commits. The definitive code-level fix is to pass an explicit second argument to every unserialize() call in the Comments plugin: unserialize(base64_decode($ci), ['allowed_classes' => false]) blocks all object instantiation (and is appropriate if the data is expected to be a scalar or array), or supply a strict allowlist of safe classes if object deserialization is genuinely required by design. As a compensating control with functional trade-offs, administrators can change the Auth_members => 'RW' default in plugins/comments/comments.setup.php to restrict comment write access to a higher-trust group - this shrinks the attacker pool to accounts you explicitly trust, but alters site commenting behavior. Disabling the Comments plugin entirely eliminates exposure from both member-reachable sinks with no residual risk from those code paths. The DeleteAction.php sink is admin-gated and does not require emergency prioritization for non-admin accounts.

Affected VersionsENISA

Cotonti 0 ≤*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 CMS (CPE: cpe:2.3:a:cotonti:cotonti:*:*:*:*:*:*:*:*, wildcard version range). CWE-502 (Deserialization of Untrusted Data) describes the root cause: PHP's native unserialize() function reconstructs arbitrary class instances from attacker-controlled input unless constrained via the allowed_classes parameter introduced in PHP 7.0. Without this argument, any class present in the running PHP process can be instantiated - the classic PHP Object Injection (POI) primitive. The first vulnerable sink is unserialize(base64_decode($ci)) in plugins/comments/controllers/actions/CreateAction.php, where the ci POST parameter is fetched via cot_import('ci', 'P', 'TXT') - a trim-only sanitization that does nothing to block a valid serialized string. The second is unserialize(base64_decode($this->comeback)) in EditAction.php's prepareComeBack() method. The demonstrated POP chain exploits MySQL_cache's __destruct()->flush() call sequence to reach an attacker-controlled INSERT INTO cot_cache. A structurally identical third sink in DeleteAction.php is gated behind an admin-only check and is not reachable by ordinary members.

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 7.6 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
vuln.today AI 7.6 HIGH

Network-reachable via HTTP POST with no special conditions, but PR:L is mandatory as member authentication is required; C:H reflects gadget-chain RCE potential beyond the confirmed SQL write.

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

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVSS changed
Aug 05, 2026 - 13:37 NVD
7.7 (HIGH) 7.6 (HIGH)
CVE Published
Aug 05, 2026 - 12:38 cve.org
HIGH 7.6

DescriptionCVE.org

Cotonti CMS's Comments plugin deserializes user-supplied data without restricting the classes that may be instantiated. In plugins/comments/controllers/actions/CreateAction.php, a ci POST parameter obtained via cot_import('ci', 'P', 'TXT') (trim-only sanitization) is passed to unserialize(base64_decode($ci)) with no allowed_classes restriction, reachable by any member with write access to comments (the default Auth_members => 'RW' setting in plugins/comments/comments.setup.php). In plugins/comments/controllers/actions/EditAction.php, a cb parameter is similarly deserialized via unserialize(base64_decode($this->comeback)) in prepareComeBack(), reachable by any member editing their own comment. Because unserialize() is called without allowed_classes, an attacker can construct a serialized PHP object of any class loaded by Cotonti (a PHP Object Injection primitive). This was demonstrated in practice using Cotonti's own MySQL_cache class: a crafted serialized MySQL_cache object, once deserialized and later garbage-collected, triggers its __destruct()->flush() chain, causing an attacker-controlled INSERT INTO cot_cache with attacker-chosen row values - confirming genuine POP-chain exploitation, with further impact (including potential RCE) contingent on other gadget chains available in a given Cotonti installation's loaded classes. A third sink in DeleteAction.php contains the identical unserialize() pattern but is gated behind an admin-only authorization check and is not reachable by ordinary members.

Executive ViewAI

Why It Matters

Cotonti CMS Comments plugin allows any site member to inject and execute arbitrary code, compromising data integrity and potentially enabling complete system control. Organizations using this plugin with active member communities face direct risk of data breach or system compromise. With no vendor-released patch identified at time of analysis, immediate mitigation is critical.

Business Impact: High
Compensating Controls

If the Comments plugin cannot be disabled: restrict plugin access to minimal trusted user roles only, implement Web Application Firewall (WAF) rules to detect and block base64-encoded payloads in POST parameters 'ci' and 'cb', enable comprehensive database query logging with real-time alerting for anomalous INSERT operations, and establish monthly security audits of member account activity and database modifications.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source PHP CMS with limited enterprise adoption
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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-55742 CRITICAL
9.4 Jun 18

Cross-site request forgery in Cotonti 1.0.0 (commit f43f1fc3) lets a remote attacker escalate privileges to administrato

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

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