Description (CNA)
Winter CMS before 1.2.13 contains a local file inclusion vulnerability in the JavascriptImporter filter that allows authenticated users with cms.manage_assets permission to disclose arbitrary server-readable files by placing =include or =require directives in theme JavaScript assets. Attackers can reference files like .env outside the theme directory, and the combined output served through the combine route becomes readable by unauthenticated visitors, exposing application keys and database credentials.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| wintercms / winter | affected 0 before 1.2.13; unaffected 1.2.13 |
CWE
CWE-22
References
- https://github.com/wintercms/winter/security/advisories/GHSA-2223-f22x-24cq
- https://github.com/wintercms/winter/commit/e09c8d3526f3583cb6c3476a021b885088ecd4bd
- https://github.com/wintercms/storm/commit/fd673f4f32140c97c68b1ed705764b819747fbdf
- https://www.vulncheck.com/advisories/winter-cms-before-local-file-inclusion-via-javascript
ADP enrichment
No English description supplied.
No references supplied.