CVE-2018-16741 Command injection in n/a
Attackers can execute arbitrary commands via shell metacharacters in the faxq-helper activate command, requiring an upgrade to mgetty.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16741?
CVE-2018-16741 is a high-severity command injection vulnerability in Debian Debian Linux, published on 13 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.
Weakness: CWE-78
Which versions are affected by CVE-2018-16741?
It affects 2 products.
Products include Debian Debian Linux, Mgetty Project Mgetty.
How do I fix CVE-2018-16741?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-16741 being exploited?
There is no known exploitation of CVE-2018-16741 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-16741, DLA-1502-1, DSA-4291-1, GHSA-g9c8-38wc-phh5, UBUNTU-CVE-2018-16741.