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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-07-03T16:28:27

Updated: 2024-08-05T15:41:17.693Z

Reserved: 2017-03-14T00:00:00

Link: CVE-2017-6900

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-07-03T17:15:09.517

Modified: 2024-11-21T03:30:45.130

Link: CVE-2017-6900

cve-icon Redhat

No data.