CVE-2025-68456
Unauthenticated Craft CMS users can trigger a database backup
Auswirkung
Unauthenticated users can trigger database backup operations the `updater/backup` action, potentially leading to resource exhaustion or information disclosure. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue. Craft 3 users should update to the latest Craft 4 and 5 releases, which include the fixes. References: https://github.com/craftcms/cms/commit/f83d4e0c6b906743206b4747db4abf8164b8da39 https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04 ## Affected Endpoints - `POST /admin/actions/updater/backup` (unauthenticated) ## Vulnerability Details ### Root Cause All `updater/*` actions are explicitly configured with anonymous access: ```php // BaseUpdaterController.php protected array|bool|int $allowAnonymous = self::ALLOW_ANONYMOUS_LIVE | self::ALLOW_ANONYMOUS_OFFLINE; ``` ### Attack Vector 1. Send unauthenticated POST request to `/admin/actions/updater/backup` 2. Database backup executes with configured `backupCommand`
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | craftcms/cms | >= 5.0.0-RC1, <= 5.8.20 | 5.8.21 |
Betroffene Produkte · Craftcms
| Produkt | Betroffene Versionen |
|---|---|
| Craft Cms | ab 3.0.0 vor 4.16.17 ab 5.0.1 vor 5.8.21 Version 5.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04
- https://github.com/craftcms/cms/commit/f83d4e0c6b906743206b4747db4abf8164b8da39
- https://github.com/craftcms/cms/security/advisories/GHSA-v64r-7wg9-23pr
- https://github.com/advisories/GHSA-v64r-7wg9-23pr
- https://nvd.nist.gov/vuln/detail/CVE-2025-68456