The router console is accessible without authentication at "data" field, and while a user needs to be logged in in order to modify the configuration, the session state is shared. If any other user is currently logged in, the anonymous user can execute commands in the context of the authenticated one. If the logged in user has administrative privileges, it is possible to use webadmin service configuration commands to create a new admin user with a chosen password.
The vulnerability results from the lack of authentication enforcement (CWE-306) for the router console's "data" endpoint. Session state is shared between users — if any user is logged in at the same time, an anonymous attacker can execute commands in the context of that session. When the active session belongs to an administrator, the attacker can use webadmin service configuration commands to create a new administrator account with an arbitrarily chosen password.
A remote, unauthenticated attacker can take full administrative control of the router by creating a new administrator account, resulting in complete breach of confidentiality, integrity, and availability of the device.
Apply patches available from the manufacturer according to the references. Additionally, it is recommended to restrict network access to the router's management interface only to trusted IP addresses and to monitor unauthorized access attempts to the console.
Hongdian H8951-4G-Esp Firmware and Hongdian H8951-4G-Esp devices; specific versions indicated in manufacturer references
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHongdian H8951 4g Esp
HWHongdianwszystkie wersjeHongdian H8951 4g Esp Firmware
OSHongdian< 2310271149
Related vulnerabilities
Hardkodowane hasło roota w urządzeniu Hongdian H8951-4G-Esp
Pominięcie uwierzytelnienia przez przepełnienie pola Cookie w Hongdian H8951-4G-Esp
The authentication cookies are generated using an algorithm based on the username, hardcoded secret and the up...
An authenticated user is able to upload an arbitrary CGI-compatible file using the certificate upload utility ...
The "tokenKey" value used in user authorization is visible in the HTML source of the login page.