xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. NOTE: font ops are not allowed in the xterm default configurations of some Linux distributions.
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 |
---|---|---|---|
Xterm | Invisible-island | * | 375 (excluding) |
Xterm | Ubuntu | bionic | * |
Xterm | Ubuntu | esm-apps/bionic | * |
Xterm | Ubuntu | esm-apps/focal | * |
Xterm | Ubuntu | esm-apps/jammy | * |
Xterm | Ubuntu | esm-infra/xenial | * |
Xterm | Ubuntu | focal | * |
Xterm | Ubuntu | jammy | * |
Xterm | Ubuntu | kinetic | * |
Xterm | Ubuntu | trusty | * |
Xterm | Ubuntu | upstream | * |
Xterm | 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.