| Package | Affected versions | Patched versions |
|---|---|---|
| craftcms/cms | ≥ 4.13.8, < 4.16.3≥ 5.5.8, < 5.8.4 | 4.16.35.8.4 |
| craft cms | ≥ 4.13.8, < 4.16.3≥ 5.5.8, < 5.8.4 | 4.16.35.8.4 |
Pre-requisites:
/storage/backups folder.With those two pieces in place, you could create a specific, malicious request to the /updater/restore-db endpoint to execute CLI commands remotely.
Fixed in https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57
Reported by Marco O. (segfault)
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free