Cotonti CMS's Comments plugin deserializes user-supplied data without restricting the classes that may be instantiated. (CVE-2026-71294)
Cotonti CMS's Comments plugin contains a PHP Object Injection vulnerability due to unsafe deserialization of user-supplied data without restricting allowed classes. This affects members with write access to comments and allows attackers to instantiate arbitrary classes during deserialization. Exploitation has been demonstrated using the MySQL_cache class to perform attacker-controlled database inserts, with potential for further impact including remote code execution depending on available gadget chains. An admin-only deserialization sink exists but is not accessible to ordinary users.
AI Analysis
Technical Summary
The vulnerability in Cotonti CMS's Comments plugin arises from deserializing base64-decoded user input without specifying allowed classes, enabling PHP Object Injection (CWE-502). Specifically, the 'ci' POST parameter in CreateAction.php and the 'cb' parameter in EditAction.php are deserialized unsafely. Attackers with write access to comments can craft serialized objects of any loaded class, demonstrated with the MySQL_cache class to trigger a __destruct()->flush() chain that inserts attacker-controlled data into the cot_cache database table. This confirms a practical POP (Property Oriented Programming) chain exploitation. The DeleteAction.php sink is restricted to admins and thus not exploitable by regular members. The vulnerability has a CVSS 3.1 score of 7.6 (high severity) with network attack vector, low attack complexity, privileges required, no user interaction, and high confidentiality impact.
Potential Impact
Successful exploitation allows attackers with write access to comments to perform PHP Object Injection, leading to arbitrary object instantiation. This can cause attacker-controlled database inserts and potentially remote code execution depending on the presence of other gadget chains in the Cotonti installation. Confidentiality, integrity, and availability impacts are high, with the ability to insert arbitrary data and possibly execute code. The vulnerability does not require user interaction but does require privileges to write comments (default setting).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to comments to trusted users only and consider disabling the Comments plugin if feasible. Monitor for updates from Cotonti CMS regarding patches or official mitigations. Avoid using unserialize() on untrusted data or apply allowed_classes restrictions to prevent unsafe object instantiation.
Cotonti CMS's Comments plugin deserializes user-supplied data without restricting the classes that may be instantiated. (CVE-2026-71294)
Description
Cotonti CMS's Comments plugin contains a PHP Object Injection vulnerability due to unsafe deserialization of user-supplied data without restricting allowed classes. This affects members with write access to comments and allows attackers to instantiate arbitrary classes during deserialization. Exploitation has been demonstrated using the MySQL_cache class to perform attacker-controlled database inserts, with potential for further impact including remote code execution depending on available gadget chains. An admin-only deserialization sink exists but is not accessible to ordinary users.
CVSS v3.1
Score 7.6high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Cotonti CMS's Comments plugin arises from deserializing base64-decoded user input without specifying allowed classes, enabling PHP Object Injection (CWE-502). Specifically, the 'ci' POST parameter in CreateAction.php and the 'cb' parameter in EditAction.php are deserialized unsafely. Attackers with write access to comments can craft serialized objects of any loaded class, demonstrated with the MySQL_cache class to trigger a __destruct()->flush() chain that inserts attacker-controlled data into the cot_cache database table. This confirms a practical POP (Property Oriented Programming) chain exploitation. The DeleteAction.php sink is restricted to admins and thus not exploitable by regular members. The vulnerability has a CVSS 3.1 score of 7.6 (high severity) with network attack vector, low attack complexity, privileges required, no user interaction, and high confidentiality impact.
Potential Impact
Successful exploitation allows attackers with write access to comments to perform PHP Object Injection, leading to arbitrary object instantiation. This can cause attacker-controlled database inserts and potentially remote code execution depending on the presence of other gadget chains in the Cotonti installation. Confidentiality, integrity, and availability impacts are high, with the ability to insert arbitrary data and possibly execute code. The vulnerability does not require user interaction but does require privileges to write comments (default setting).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to comments to trusted users only and consider disabling the Comments plugin if feasible. Monitor for updates from Cotonti CMS regarding patches or official mitigations. Avoid using unserialize() on untrusted data or apply allowed_classes restrictions to prevent unsafe object instantiation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rm37-v7mc-6795
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71294"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a738521bf8831d5394efa64
Added to database: 08/05/2026, 18:46:57 UTC
Last enriched: 08/05/2026, 19:11:23 UTC
Last updated: 08/05/2026, 19:21:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.