mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
The availableTaskTypes cache stores serialized arrays containing ShapeDescriptor objects, ShapeEnumValue objects, and EShapeType enum values. The unserialize() call did not restrict which classes could be instantiated. Restrict deserialization to the three known types: - OCP\TaskProcessing\ShapeDescriptor - OCP\TaskProcessing\ShapeEnumValue - OCP\TaskProcessing\EShapeType This prevents PHP Object Injection if an attacker gains write access to the distributed cache backend. Signed-off-by: El Mehdi Abenhazou <mehdiananas007@gmail.com> |
||
|---|---|---|
| .. | ||
| Db | ||
| Manager.php | ||
| RemoveOldTasksBackgroundJob.php | ||
| SynchronousBackgroundJob.php | ||