CVE-2017-6900 Command injection in n/a
Attackers can inject commands via login parameters to gain administrator access and enable remote services on Riello NetMan devices.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-6900?
CVE-2017-6900 is a critical command injection vulnerability in n/a, published on 3 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Riello NetMan 204 14-2 and 15-2. The issue is with the login script and wrongpass Python script used for authentication. When calling wrongpass, the variables $VAL0 and $VAL1 should be enclosed in quotes to prevent the potential for Bash command injection. Further to this, VAL0 and VAL1 should be sanitised to ensure they do not contain malicious characters. Passing it the username of '-' will cause it to time out and log the user in because of poor error handling. This will log the attacker in as an administrator where the telnet / ssh services can be enabled, and the credentials for local users can be reset. Also, login.cgi accepts the username as a GET parameter, so login can be achieved by browsing to the /cgi-bin/login.cgi?username=-%20a URI.
Weakness: CWE-255
Which versions are affected by CVE-2017-6900?
It affects 1 product.
Products include Riello-Ups Netman 204 Firmware.
How do I fix CVE-2017-6900?
No fix has been published for CVE-2017-6900 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-2017-6900 being exploited?
There is no known exploitation of CVE-2017-6900 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jv83-3f96-42vw.