CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2017 · Riello-ups

CVE-2017-6900
Riello-ups Netman 204 Firmware vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Netman 204 Firmware. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Riello-ups Netman 204 Firmware runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Riello-ups products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.