Description
Stills before 25.24.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying crafted media file paths. Attackers can name a media file with $(...) or backticks to execute operating system commands with Node.js process privileges when ffmpeg, ffprobe, gifsicle, or convert runs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| shahkashani | stills | < 25.24.2 | 25.24.2 |
References
- https://github.com/shahkashani/stills/pull/29 patch issue-tracking
- https://github.com/shahkashani/stills/pull/30 patch issue-tracking
- https://github.com/shahkashani/stills/commit/5694b3b0dcd2da342f4f0497244129d4c9eb73bc patch
- https://github.com/shahkashani/stills/commit/51ba953983ba99915331607bf8530e6089952253 patch
- https://github.com/shahkashani/stills/blob/66d5def1265b817d84524473a2813e4781dcbd80/lib/stills/frames.js#L106-L108 technical-description
- https://github.com/shahkashani/stills/blob/66d5def1265b817d84524473a2813e4781dcbd80/lib/content/video.js#L58-L60 technical-description
- VulnCheck Advisory: Stills before 25.24.2 OS Command Injection via Media File Names third-party-advisory