Description
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.main.php, the file upload action ('a=upload') processes uploaded files without calling cot_check_xg to validate the anti-CSRF token, even though sibling actions such as 'delete' (line 272) do.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cotonti | Cotonti | 1.0.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | cotonti/cotonti | <= 1.0.0 | — | GHSA-wx35-cv59-9gwr |
References
- Vulnerable code: modules/pfs/inc/pfs.main.php technical-description
- https://github.com/Cotonti/Cotonti product