Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Riello-Ups | Netman 204 Firmware | 14-2 |
| Riello-Ups | Netman 204 | - |
Related Weaknesses (CWE)
References
- https://blog.synack.co.uk/2017/01/31/my-first-exploit-db-post/Broken Link
- https://web.archive.org/web/20170205100702/https://blog.synack.co.uk/2017/01/31/Third Party Advisory
- https://blog.synack.co.uk/2017/01/31/my-first-exploit-db-post/Broken Link
- https://web.archive.org/web/20170205100702/https://blog.synack.co.uk/2017/01/31/Third Party Advisory
FAQ
What is CVE-2017-6900?
CVE-2017-6900 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 $VAL...
How severe is CVE-2017-6900?
CVE-2017-6900 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2017-6900?
Check the references section above for vendor advisories and patch information. Affected products include: Riello-Ups Netman 204 Firmware, Riello-Ups Netman 204.