Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as comment-write user
-
DeliveryCraft serialized PHP object gadget
-
ExploitBase64-encode and submit as cb parameter
-
ExecutionEditAction calls unserialize() unrestricted
-
PersistObject instantiation triggers gadget chain
-
ImpactFile write or code execution
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 | Requires an authenticated account on the Cotonti 1.0.0 site holding comment write permissions (PR:L). The attacker must reach the comments plugin EditAction and control the cb (comeback) parameter, which is base64-decoded and passed to unserialize() without allowed_classes restriction. Full code execution is NOT guaranteed by the primitive alone: it additionally requires a viable POP gadget chain among Cotonti's loaded classes (reflected in AC:H/AT:P) - absent such a chain, impact is limited to arbitrary object instantiation. No user interaction is needed (UI:N). Limiting factors: authentication plus comment-write permission, gadget-chain dependency, and the narrow affected version (1.0.0, patched in PR #1897). |
| Impact | The vendor CVSS 4.0 base score of 7.7 (AV:N/AC:H/AT:P/PR:L/UI:N, full VC/VI/VA:H) rests on a genuine PHP Object Injection primitive: unserialize() on attacker-controlled base64 data with no allowed_classes restriction, confirmed by the vendor patch diff (PR #1897) which adds ['allowed_classes' => false]. However, the impact is honestly qualified in the description as 'potentially achieve file write or code execution through gadget chains' - object instantiation is certain, but full RCE is contingent on a usable gadget chain existing in Cotonti's loaded codebase, which the reference does not demonstrate. This contingency is precisely why AC:H/AT:P (attack requirements) were selected, and it should temper the high VC/VI/VA:H rating. There is no EPSS score, no CISA KEV listing, and no public exploit code cited (the VulnCheck advisory documents the flaw but not a weaponized chain), so this is no public exploit identified at time of analysis. Net: a legitimate authenticated deserialization bug worth patching, but not a widespread-exploitation emergency - realistic risk is bounded by required authentication (comment-write permission), the need for a working gadget chain, and the product's very small deployment footprint. |
| Exploit ScenarioDerived | A registered user with comment write permissions crafts a malicious serialized PHP payload embedding an object of a class with an exploitable magic method, base64-encodes it, and submits it as the cb (comeback) parameter to the comments plugin EditAction. When Cotonti calls unserialize() on the decoded value, the object is instantiated and, if a suitable gadget chain (e.g. via the cache subsystem) is reachable, triggers file write or code execution. No public exploit code is identified; exploitation requires the attacker to supply their own gadget chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
PHP object injection in Cotonti 1.0.0 allows authenticated users with comment-write permissions to pass attacker-controlled base64-encoded data through the cb (comeback) parameter of the comments plugin EditAction, which is then unserialized without an allowed_classes restriction. This can lead to arbitrary PHP object instantiation and, only if a viable POP gadget chain exists among loaded classes, escalation to file write or remote code execution. No public exploit code or active exploitation has been identified at time of analysis; the vendor has published a fix in PR #1897, and the vendor CVSS 4.0 score is 7.7, while the independent CVSS 3.1 assessment is AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
RemediationAI
Apply the upstream fix from PR #1897 (https://github.com/Cotonti/Cotonti/pull/1897), which adds ['allowed_classes' => false] to the unserialize() call in plugins/comments/controllers/actions/EditAction.php; this restricts deserialization to arrays and scalar types, eliminating PHP object injection. Upstream fix available (PR/commit); released patched version not independently confirmed. Because the fix is currently a pull request and no tagged patched release has been independently confirmed, administrators should either backport the change manually or, if upgrading is not immediately possible, restrict comment-write permissions to trusted users only - the vulnerability requires an authenticated account with comment write permissions (PR:L), so this removes the attacker's entry point. Disabling the comments plugin entirely eliminates the attack surface but removes commenting functionality. As a secondary compensating control, consider disabling or strictly filtering the cb parameter if the comeback feature is not needed, though this may break expected behavior. Refer to the vendor issue (https://github.com/Cotonti/Cotonti/issues/1894) and the VulnCheck advisory (https://www.vulncheck.com/advisories/cotonti-1.0.0-php-object-injection-via-comments-plugin-edit-action-cb-parameter) for updates.
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 content management system. The vulnerability is a classic PHP Object Injection (CWE-502) in the comments plugin's EditAction controller (plugins/comments/controllers/actions/EditAction.php). In version 1.0.0, the prepareComeBack() method base64-decodes the user-supplied cb (comeback) parameter and passes the result directly to unserialize() without specifying the allowed_classes option. Because unserialize() instantiates objects of any class available in the PHP runtime, an attacker can craft a serialized payload containing arbitrary class names and properties. The impact depends on the presence of a POP (Property-Oriented Programming) gadget chain within Cotonti's loaded classes - the vendor notes potential gadgets via system/cache.php and other components - and can therefore range from simple object instantiation to file write or code execution. The patch in PR #1897 adds ['allowed_classes' => false] to the unserialize() call, preventing object instantiation and limiting the decoded value to scalar types and arrays. The CPE cpe:2.3:a:cotonti:cotonti confirms the affected product, with version 1.0.0 identified in the source links.
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:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network vector, authenticated comment-write user (PR:L), no interaction; AC:H because full impact depends on a usable gadget chain; C/I/A:H reflect potential code execution.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Cotonti 1.0.0 passes the base64-decoded cb parameter to unserialize() without allowed_classes restriction in the comments plugin EditAction. Registered users with comment write permissions can instantiate arbitrary PHP objects and potentially achieve file write or code execution through gadget chains.
Executive ViewAI
Cotonti 1.0.0 contains a high-severity flaw that lets authenticated users with comment-write permissions potentially abuse the comments plugin to instantiate arbitrary PHP objects, which could lead to file write or remote code execution if a viable gadget chain is present. Although no public exploit or active exploitation has been identified, organizations running internet-facing Cotonti 1.0.0 instances could face server compromise if the required conditions are met. Leadership should prioritize patching because the flaw requires only authenticated access and could affect application data integrity, server confidentiality, and service availability.
Apply vendor patch.
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
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.
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
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 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 CMS's Comments plugin grants any authenticated member a deserialization primitive reacha
EUVD-2026-83369
GHSA-3v3g-3pf9-fgcf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB