{"id":"CVE-2026-63000","aliases":["EUVD-2026-85308","GHSA-m8r3-22v6-g877"],"status":"published","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","description":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00149,"percentile":0.0412,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2026-09-23T14:08:42Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"Packagist","package":"redaxo/source","fixed_in":["5.21.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"redaxo/source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.21.1"},{"fixed":"5.21.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"redaxo/source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.21.2"}]}],"versions":["5.10.0","5.10.0-beta1","5.10.0-beta2","5.10.1","5.11.0","5.11.0-beta1","5.11.1","5.11.2","5.12.0","5.12.0-beta1","5.12.0-beta2","5.12.0-beta3","5.12.1","5.13.0","5.13.0-beta1","5.13.0-beta2","5.13.1","5.13.2","5.13.3","5.14.0","5.14.0-beta1","5.14.0-beta2","5.14.1","5.14.2","5.14.3","5.15.0","5.15.0-beta1","5.15.1","5.16.0","5.16.0-beta1","5.16.1","5.17.0","5.17.1","5.18.0","5.18.1","5.18.2","5.18.3","5.19.0","5.20.0","5.20.1","5.20.2","5.21.0","5.21.0-beta1","5.21.1"]}],"products":[{"vendor":"opnsense","product":"core"},{"vendor":"redaxo","product":"core"},{"vendor":"redaxo","product":"redaxo"}],"references":[{"url":"https://github.com/redaxo/core/security/advisories/GHSA-m8r3-22v6-g877","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/redaxo/core/pull/6579","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/redaxo/core/commit/a13abbffbad4fdea46a4edc86cdba3335ca9e8f3","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/redaxo/core/releases/tag/5.21.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/advisories/GHSA-m8r3-22v6-g877"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63000.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63000","tags":["advisory"]},{"url":"https://github.com/redaxo/core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-63000","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","description":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","status":"published","published":"2026-09-23T14:08:42.402Z","modified":"2026-09-29T01:56:35.81Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:19:55.914391Z"}],"euvd":[{"id":"EUVD-2026-85308","description":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","status":"published","published":"2026-09-23T14:08:42Z","modified":"2026-09-29T01:56:35Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium"}],"updated_at":"2026-11-02T17:27:52.759804Z"}],"ghsa":[{"id":"GHSA-m8r3-22v6-g877","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","description":"### Summary\nThe `rex_api_install_package_update` API function (`install` addon) does not override `requiresCsrfProtection()`, which defaults to `false` in the base class `rex_api_function`. Any authenticated admin can therefore be tricked via a CSRF attack into silently triggering a package update from the REDAXO package server.\n\n### Details\n**File:** `redaxo/src/core/lib/api_function.php:277-280`\n```php\nprotected function requiresCsrfProtection()\n{\n    return false;  // DEFAULT — subclasses must opt in\n}\n```\n\n**File:** `redaxo/src/addons/install/lib/api/api_package_update.php:8-39`\n```php\nclass rex_api_install_package_update extends rex_api_function\n{\n    public function execute()\n    {\n        if (!rex::getUser()?-\u003eisAdmin()) {\n            throw new rex_api_exception('You do not have the permission!');\n        }\n        $addonkey = rex_request('addonkey', 'string');\n        $fileId = rex_request('file', 'int');\n        $installer = new rex_install_package_update();\n        // ... downloads and installs $addonkey version $fileId from redaxo.org\n    }\n    // requiresCsrfProtection() NOT overridden — defaults to false\n}\n```\n\nFor comparison, `rex_api_install_package_add` and `rex_api_install_package_delete` both correctly return `true`. Only `rex_api_install_package_update` is missing this.\n\n### PoC\n```html\n\u003c!-- Attacker-controlled page --\u003e\n\u003cimg src=\"https://victim-redaxo.example.com/index.php?page=install/packages\u0026rex-api-call=install_package_update\u0026addonkey=some_addon\u0026file=42\" /\u003e\n```\nWhen an authenticated admin visits this page, the request is automatically made with their session cookie, causing `some_addon` to be updated to version `file_id=42`.\n\n### Impact\nAn attacker who can lure an admin to a malicious page can force-install specific addon versions. If combined with a supply-chain compromise of a package on redaxo.org, or by targeting a downgrade to a known-vulnerable version, this becomes a remote code execution vector. Even without supply-chain compromise, it can be used to disrupt the site by forcing unwanted updates.\n\n### Fix\nAdd `requiresCsrfProtection()` to `rex_api_install_package_update`:\n```php\nprotected function requiresCsrfProtection()\n{\n    return true;\n}\n```","status":"published","published":"2026-09-23T14:09:15Z","modified":"2026-09-23T14:09:16Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:41:20.575159Z"}],"nvd":[{"id":"CVE-2026-63000","description":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","status":"published","published":"2026-09-23T15:17:15.453Z","modified":"2026-10-19T20:35:09.623Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:12:50.703874Z"}],"osv":[{"id":"CVE-2026-63000","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","description":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","status":"published","published":"2026-09-23T14:08:42.402Z","modified":"2026-10-28T02:31:08.843193264Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:45:13.306117Z"},{"id":"GHSA-m8r3-22v6-g877","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","description":"### Summary\nThe `rex_api_install_package_update` API function (`install` addon) does not override `requiresCsrfProtection()`, which defaults to `false` in the base class `rex_api_function`. Any authenticated admin can therefore be tricked via a CSRF attack into silently triggering a package update from the REDAXO package server.\n\n### Details\n**File:** `redaxo/src/core/lib/api_function.php:277-280`\n```php\nprotected function requiresCsrfProtection()\n{\n    return false;  // DEFAULT — subclasses must opt in\n}\n```\n\n**File:** `redaxo/src/addons/install/lib/api/api_package_update.php:8-39`\n```php\nclass rex_api_install_package_update extends rex_api_function\n{\n    public function execute()\n    {\n        if (!rex::getUser()?-\u003eisAdmin()) {\n            throw new rex_api_exception('You do not have the permission!');\n        }\n        $addonkey = rex_request('addonkey', 'string');\n        $fileId = rex_request('file', 'int');\n        $installer = new rex_install_package_update();\n        // ... downloads and installs $addonkey version $fileId from redaxo.org\n    }\n    // requiresCsrfProtection() NOT overridden — defaults to false\n}\n```\n\nFor comparison, `rex_api_install_package_add` and `rex_api_install_package_delete` both correctly return `true`. Only `rex_api_install_package_update` is missing this.\n\n### PoC\n```html\n\u003c!-- Attacker-controlled page --\u003e\n\u003cimg src=\"https://victim-redaxo.example.com/index.php?page=install/packages\u0026rex-api-call=install_package_update\u0026addonkey=some_addon\u0026file=42\" /\u003e\n```\nWhen an authenticated admin visits this page, the request is automatically made with their session cookie, causing `some_addon` to be updated to version `file_id=42`.\n\n### Impact\nAn attacker who can lure an admin to a malicious page can force-install specific addon versions. If combined with a supply-chain compromise of a package on redaxo.org, or by targeting a downgrade to a known-vulnerable version, this becomes a remote code execution vector. Even without supply-chain compromise, it can be used to disrupt the site by forcing unwanted updates.\n\n### Fix\nAdd `requiresCsrfProtection()` to `rex_api_install_package_update`:\n```php\nprotected function requiresCsrfProtection()\n{\n    return true;\n}\n```","status":"published","published":"2026-09-23T14:09:15Z","modified":"2026-09-23T14:15:04.604291726Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
