mediumCVSS 5.3Vulnerability

GHSA-fm29-4mq3-phg6

### Impact Affected versions of Winter CMS did not enforce the `ImportExportController` behavior's granular access control on the handlers that actually perform the work. The behavior supports per-operation access control through the `import[permissions]` and `export[permissions]` configuration keys, enforced by `userHasAccess()`. That check was applied only to the `import()` and `export()` page actions. `Backend\Classes\Controller::execAjaxHandlers()` dispatches AJAX handlers and returns *before* `execPageAction()` runs, and the behavior binds its import and export form widgets in its constructor on every request to the controller. The handlers were therefore fully functional without the gated page action ever executing, and none of them carried the check: - `onImport()` — reaches `$model->import()` with attacker-supplied column mappings - `onImportLoadForm()` - `onImportLoadColumnSampleForm()` - `onExport()` — reaches `$model->export()` - `onExportLoadForm()` - `download()` — streams a completed export file An authenticated backend user who could reach such a controller through its coarse `$requiredPermissions`, but who was denied the granular import or export permission, could therefore: - **exfiltrate** the entire dataset exposed by the export model, via `onExport()` followed by `download()`; and - **write or overwrite** records through the import model, via `onImport()`. `userHasAccess()` is default-permissive — it returns `true` unless the corresponding `permissions` key is configured — so only controllers that declare granular import/export permissions were affected. Those are precisely the controllers whose authors opted in to restricting these operations, and for which the configuration silently had no effect on the paths that mattered. Note that CSRF tokens are still verified on all POST requests, so the attacker must be logged into the backend with a valid session. To actively exploit this issue, an attacker would need a backend account with acce

Properties

ghsa_id
GHSA-fm29-4mq3-phg6
severity
medium
summary
Winter: ImportExportController AJAX handlers bypass granular import/export permission gate
cvss_score
5.3
cve_id
GHSA-fm29-4mq3-phg6
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
is_ghsa_only
true
ghsa_published
2026-08-20T18:44:50Z
source_url
https://github.com/advisories/GHSA-fm29-4mq3-phg6
ghsa_updated
2026-08-20T18:44:50Z

Related Entities (5)

VULNERABLE_TO (1)

[Software]composer/winter/wn-backend-module

AFFECTS (1)

[Software]composer/winter/wn-backend-module

HAS_WEAKNESS (2)

[Weakness]Incorrect Authorization
[Weakness]Missing Authorization

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-fm29-4mq3-phg6 (CVSS 5.3) — Ninja Signal Threat Intelligence | Ninja Signal