Remote code execution via missing CSRF validation
Published Jul 9, 2026 · Updated Jul 9, 2026
Cross-site request forgery in Cotonti Siena 0.9.26 and earlier allows remote attackers to change administrator settings through forged POST requests. The update path in system/admin/admin.config.php processes cfg values without calling cot_check_xg(), and the PFS upload handler likewise accepts files without validating the session CSRF token. A logged-in administrator must visit an attacker-controlled page; the resulting requests can disable extension checks, upload a PHP web shell, and execute code as the web server user.
Summary
What happened
Cross-site request forgery in Cotonti Siena 0.9.26 and earlier allows remote attackers to change administrator settings through forged POST requests. The update path in system/admin/admin.config.php processes cfg values without calling cot_check_xg(), and the PFS upload handler likewise accepts files without validating the session CSRF token. A logged-in administrator must visit an attacker-controlled page; the resulting requests can disable extension checks, upload a PHP web shell, and execute code as the web server user.
The record
- CVE
- CVE-2026-58143
- Published
- Jul 9, 2026
- Updated
- Jul 9, 2026
- Vendor
- Cotonti
- Product
- Cotonti
- Classifications
- CWE-352, T1204.001, T1505.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 9, 2026CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=0.9.26
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cotonti CMS CSRF to RCE proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo