Description
HashBrown CMS through 1.4.6 contains an OS Command Injection vulnerability (CWE-78) in the media upload thumbnail generation routine. Media.generateThumbnail in src/Server/Entity/Resource/Media.js builds a temporary file path as 'thumbnail' + Path.extname(filename) and passes it, unescaped, into a shell command executed via AppService.exec ('convert ' + tempFile + ...).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HashBrownCMS | hashbrown-cms | ≤ 1.4.6 | — |
References
- https://github.com/HashBrownCMS/hashbrown-cms third-party-advisory
- https://cve.turansec.uz/advisories/TRN-11FC0D88 third-party-advisory