CVE-2026-58143 Details
Description
Cotonti Siena 0.9.26 and earlier contains a cross-site request forgery vulnerability that allows unauthenticated attackers to modify administrator configuration by tricking a logged-in administrator into submitting a forged POST request to the admin.php config update handler, which never invokes the application's CSRF validation function. Attackers can disable the PFS module's file extension whitelist by setting pfsfilecheck to 0, enabling any user with PFS access to upload and execute arbitrary PHP files on the server.
A cross-site request forgery (CSRF) vulnerability has been identified in Cotonti CMS versions through 0.9.26. This vulnerability allows unauthenticated attackers to manipulate administrator settings by deceiving a logged-in admin into sending a forged POST request to the admin.php configuration update handler. The vulnerability arises because this handler does not perform the necessary CSRF validation, enabling attackers to disable file upload restrictions in the Personal File Space (PFS) module. Consequently, users with PFS access can upload and execute arbitrary PHP files on the server.
To address this vulnerability, add CSRF token validation to the affected endpoints. For the admin.config.php update action, include a call to 'cot_check_xg()' before processing the POST data. Similarly, for the pfs.main.php upload handler, implement the CSRF validation to ensure that file uploads are protected.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 9, 2026CISA-ADP
Assessed Jul 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/sermikr0/75686815e441c07462cfdea2fed5d305 | [email protected] | BundleExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/cotonti-siena-csrf-via-admin-php-config-update-endpoint | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Cotonti Siena | <= 0.9.x |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jul 10, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2026 | New CVE Received | [email protected] |
Volerion