Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Cotonti Cotonti
Default version status: unaffected
1.0.0 to ≤ 1.0.0affected
pkg:composer/cotonti/cotontiReferences
- 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 ↗