Description
Television (tv) 0.15.0 through 0.15.9 contains an OS command injection vulnerability that allows attackers to run shell commands through improperly escaped single quotes in format_command. Attackers can plant a file with a crafted name containing an apostrophe so that triggering an action like the default edit action executes commands with victim privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| alexpasmantier | television | 0.15.0 – ≤ 0.15.9 | — |
References
- https://github.com/alexpasmantier/television/issues/1166 issue-tracking
- https://github.com/alexpasmantier/television/commit/d7d46abb791181a3b5b6eed05e72aafcaa0ef269 patch
- https://github.com/alexpasmantier/television/commit/32695ccc6cd2b05cf7f1d3b80c24e324d5343eec patch
- https://github.com/alexpasmantier/television/blob/0.15.9/television/utils/command.rs technical-description
- https://github.com/alexpasmantier/television/blob/0.15.9/cable/unix/files.toml technical-description
- VulnCheck Advisory: Television 0.15.0 through 0.15.9 OS Command Injection via External Action Formatting third-party-advisory