Description (CNA)
Cotonti 1.0.0 passes the base64-decoded cb parameter to unserialize() without allowed_classes restriction in the comments plugin EditAction. Registered users with comment write permissions can instantiate arbitrary PHP objects and potentially achieve file write or code execution through gadget chains.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Cotonti / Cotonti | affected 1.0.0 through 1.0.0 |
CWE
CWE-502
References
- https://github.com/Cotonti/Cotonti/issues/1894
- https://github.com/Cotonti/Cotonti/pull/1897
- https://github.com/Cotonti/Cotonti/blob/1.0.0/plugins/comments/controllers/actions/EditAction.php
- https://github.com/Cotonti/Cotonti/blob/1.0.0/system/cache.php
- https://github.com/Cotonti/Cotonti
- https://www.vulncheck.com/advisories/cotonti-1.0.0-php-object-injection-via-comments-plugin-edit-action-cb-parameter
ADP enrichment
No English description supplied.
No references supplied.