An issue was discovered in Amanda 3.3.1. A user with backup privileges can trivially compromise a client installation. The runtar setuid root binary does not check for additional arguments supplied after –create, allowing users to manipulate commands and perform command injection as root.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Amanda | Zmanda | 3.3.1 | 3.3.1 |
Amanda | Ubuntu | bionic | * |
Amanda | Ubuntu | cosmic | * |
Amanda | Ubuntu | disco | * |
Amanda | Ubuntu | eoan | * |
Amanda | Ubuntu | groovy | * |
Amanda | Ubuntu | hirsute | * |
Amanda | Ubuntu | impish | * |
Amanda | Ubuntu | trusty | * |
Amanda | Ubuntu | xenial | * |
Command injection vulnerabilities typically occur when:
Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks. Command injection is a common problem with wrapper programs.