HashBrown CMS - OS Command Injection in Media Upload Thumbnail Generation
HashBrownCMS hashbrown-cms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| HashBrownCMS hashbrown-cms |
| No fix yet |
Original 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 + ...).
From the CVE record · TuranSec