H8951 4G Esp Firmware
CVE-2023-49254
HIGH
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
2DescriptionCVE.org
Authenticated user can execute arbitrary commands in the context of the root user by providing payload in the "destination" field of the network test tools. This is similar to the vulnerability CVE-2021-28151 mitigated on the user interface level by blacklisting characters with JavaScript, however, it can still be exploited by sending POST requests directly.
AnalysisAI
Authenticated user can execute arbitrary commands in the context of the root user by providing payload in the "destination" field of the network test tools. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.
Technical ContextAI
This vulnerability is classified as OS Command Injection (CWE-78), which allows attackers to execute arbitrary operating system commands on the host. Authenticated user can execute arbitrary commands in the context of the root user by providing payload in the "destination" field of the network test tools. This is similar to the vulnerability CVE-2021-28151 mitigated on the user interface level by blacklisting characters with JavaScript, however, it can still be exploited by sending POST requests directly. Affected products include: Hongdian H8951-4G-Esp Firmware.
RemediationAI
No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Avoid passing user input to shell commands. Use language-specific APIs instead of shell execution. Apply strict input validation with allowlists.
More in H8951 4G Esp Firmware
View allRoot user password is hardcoded into the device and cannot be changed in the user interface. Rated critical severity (CV
The router console is accessible without authentication at "data" field, and while a user needs to be logged in in order
The authentication mechanism can be bypassed by overflowing the value of the Cookie "authentication" field, provided the
An authenticated user is able to upload an arbitrary CGI-compatible file using the certificate upload utility and execut
The "tokenKey" value used in user authorization is visible in the HTML source of the login page. Rated high severity (CV
It is possible to download the configuration backup without authorization and decrypt included passwords using hardcoded
The authentication cookies are generated using an algorithm based on the username, hardcoded secret and the up-time, and
User browser may be forced to execute JavaScript and pass the authentication cookie to the attacker leveraging the XSS v
An XSS attack can be performed by changing the MOTD banner and pointing the victim to the "terminal_tool.cgi" path. Rate
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today