Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker identifies target Cotonti instance with PFS enabled
-
DeliveryCrafts malicious page with auto-submitting forged folder-update form
-
ExploitDelivers phishing link to authenticated Cotonti user
-
ExecutionVictim browser submits forged POST request with session cookie
-
PersistServer processes update without CSRF token validation
-
ImpactVictim's private folder metadata modified or exposed publicly
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 | The victim must be authenticated to a Cotonti instance that has the PFS (Personal File Storage) module enabled - this module is not guaranteed to be active in all deployments, which limits the exploitable population. The attacker must know or guess a valid folder ID belonging to the victim, and must successfully lure the authenticated user into visiting an attacker-controlled page while their Cotonti session cookie remains valid (i.e., before session expiry or logout). Exploitation is strictly scoped to modifying folder metadata (title, description, public/gallery visibility flags) within the victim's own PFS - the attacker cannot read file contents directly, access other users' data, escalate privileges, or achieve remote code execution through this flaw. The primary limiting factor is the required user interaction (CVSS UI:R): without a successful social engineering step, the attack cannot proceed. |
| Impact | CVSS 3.1 scores this at 5.4 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. The network attack vector and low complexity are concerning, but the required user interaction (UI:R) is a meaningful real-world barrier - exploitation depends entirely on successfully luring an authenticated user to a malicious page while their session remains active. The confidentiality impact (C:L) arises indirectly: if an attacker forces a private folder to become public, files the user intended to keep private become accessible. No EPSS score was provided in the input, no KEV listing exists, and no confirmed POC exploit code is identified - these signals collectively suggest this is not under active exploitation at time of analysis. Real-world prioritization should be moderate: the impact ceiling is limited to folder metadata manipulation within a single user's PFS scope, not broader system compromise. The wildcard CPE version range is a gap - it cannot be confirmed from available data whether versions other than the named commit are affected. |
| Exploit ScenarioDerived | An attacker crafts a hidden HTML form on a malicious webpage that auto-submits a POST request to the victim's Cotonti instance, targeting the PFS module's folder update endpoint with parameters that set the public flag to true on a specific folder ID. The attacker delivers a phishing link to a Cotonti user who is currently authenticated, and when that user's browser loads the malicious page, it silently submits the forged request, causing the victim's private folder - and any files within it - to become publicly accessible without any indication to the victim. No confirmed POC exploit code exists at time of analysis, but the vulnerability is mechanically straightforward to exploit given the publicly referenced code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Cross-site request forgery in Cotonti 1.0.0's Personal File Storage module allows remote attackers to hijack authenticated user sessions to silently modify folder metadata. The folder update action ('a=update') in modules/pfs/inc/pfs.editfolder.php processes state-changing requests without invoking Cotonti's built-in anti-CSRF token validation function cot_check_xg(), enabling an attacker to force a logged-in user to unknowingly expose private folders or alter their descriptions. No public exploit code has been confirmed and the vulnerability is not listed in CISA KEV, but the specific vulnerable code commit is publicly identified by the reporter TuranSec.
RemediationAI
No vendor-released patched version has been identified from the available data - the provided references link only to the vulnerable source file and the upstream GitHub repository, not to a fix commit, advisory, or tagged release. The correct fix is to add a cot_check_xg() call within the 'a=update' branch of modules/pfs/inc/pfs.editfolder.php (at approximately line 90), consistent with how anti-CSRF protection is applied elsewhere in the Cotonti framework. Administrators unable to patch immediately should consider disabling the PFS module entirely if it is not in active use, which eliminates the attack surface at the cost of losing file storage functionality. Restricting access to Cotonti instances via network controls (e.g., IP allowlists or VPN) reduces exposure by limiting the pool of users who could be lured to attacker-controlled pages. Users should be advised not to click unverified links while logged into Cotonti. Monitor the upstream repository at https://github.com/Cotonti/Cotonti for a fix commit targeting this code path.
Affected VersionsENISA
Affected Packages
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 a PHP-based CMS/framework. The PFS (Personal File Storage) module provides per-user file folder management, and pfs.editfolder.php handles folder CRUD operations. At line 90 of that file (commit f43f1fc38ba4e02027786dad9dac1435c7c52b30), the 'a=update' branch updates folder title, description, and visibility flags (public/gallery) without calling cot_check_xg(), which is Cotonti's framework-level mechanism for verifying the synchronizer token pattern against CSRF attacks. CWE-352 (Cross-Site Request Forgery) describes exactly this root cause: a state-changing server-side action that accepts requests without an unpredictable, session-bound token, allowing a third-party origin to forge those requests on behalf of an authenticated user. CPE cpe:2.3:a:cotonti:cotonti:*:*:*:*:*:*:*:* uses a wildcard version range, suggesting the flaw may not be limited to 1.0.0 alone, though only the specific commit is directly confirmed.
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:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-delivered CSRF requires passive user interaction (UI:R); attacker needs no privileges; integrity impact is folder metadata only; confidentiality impact reflects indirect exposure of files in a newly-public folder.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
Lifecycle Timeline
1DescriptionCVE.org
Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the Personal File Storage (PFS) module. In modules/pfs/inc/pfs.editfolder.php, the folder update action ('a=update') updates folder metadata (title, description, public/gallery flags) without calling cot_check_xg() to validate the anti-CSRF token. A remote attacker who lures an authenticated user into visiting a malicious page can force the browser to submit a forged request that modifies the victim's folder metadata, including making a private folder public.
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 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 1.0.0 allows authenticated users with comment-write permissions to pass attacker-control
EUVD-2026-37856
GHSA-hp3v-wp32-953h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB