CVE-2018-20106 SMB printer settings don't escape characters in passwords properly
Improper escaping in SMB printer settings allows root code execution if a malicious password is entered, affecting SUSE YaST users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-20106?
CVE-2018-20106 is a medium-severity command injection vulnerability in SUSE yast2-printer, published on 15 Mar 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In yast2-printer up to and including version 4.0.2 the SMB printer settings don't escape characters in passwords properly. If a password with backticks or simliar characters is supplied this allows for executing code as root. This requires tricking root to enter such a password in yast.
Which versions are affected by CVE-2018-20106?
It affects 1 product.
Products include Opensuse Yast2-Printer.
How do I fix CVE-2018-20106?
No fix has been published for CVE-2018-20106 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-20106 being exploited?
There is no known exploitation of CVE-2018-20106 in the wild and no public exploit code.
Sources
Also known as GHSA-ghcf-6h3j-46qc.