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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HRiello Ups Netman 204
HWRiello-Upswszystkie wersjeRiello Ups Netman 204 Firmware
OSRiello-Ups14-215-2
Related vulnerabilities
Podatność mechanizmu odzyskiwania hasła w Riello Netman 204 umożliwia przejęcie urządzenia
There is a remote code execution vulnerability that affects all versions of NetMan 204. A remote attacker coul...
All versions of NetMan 204 allow an attacker that knows the MAC and serial number of the device to reset the a...
There is a CSRF vulnerability on Netman-204 version 02.05. An attacker could manage to change administrator pa...
Improper neutralization of special elements results in a SQL Injection vulnerability in Riello Netman 204. It ...