PT-2021-17775 · Hongdian · Hongdian H8922
Konstantin Burov
+1
·
Published
2021-05-06
·
Updated
2021-05-13
·
CVE-2021-28149
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions:
Hongdian H8922 version 3.0.5
Description:
The issue allows Directory Traversal due to the /log download.cgi log export handler not validating user input. A remote attacker with minimal privileges can download any file from the device by substituting ../, for example, ../../etc/passwd. This can be carried out with a web browser by changing the file name accordingly, such as visiting /log download.cgi?type=../../etc/passwd and logging in, which allows the download of the contents of the /etc/passwd file.
Recommendations:
For Hongdian H8922 version 3.0.5, as a temporary workaround, consider restricting access to the /log download.cgi endpoint until a patch is available. Avoid using the
type parameter in the /log download.cgi endpoint with unvalidated input to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hongdian H8922