CVE-2021-28149 Path traversal in n/a
Remote attackers with minimal privileges can download arbitrary files from Hongdian H8922 devices via directory traversal in the log export handler.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-28149?
CVE-2021-28149 is a medium-severity path traversal vulnerability in n/a, published on 6 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Hongdian H8922 3.0.5 devices allow Directory Traversal. The /log_download.cgi log export handler does not validate user input and allows a remote attacker with minimal privileges to download any file from the device by substituting ../ (e.g., ../../etc/passwd) This can be carried out with a web browser by changing the file name accordingly. Upon visiting log_download.cgi?type=../../etc/passwd and logging in, the web server will allow a download of the contents of the /etc/passwd file.
Weakness: CWE-22
Which versions are affected by CVE-2021-28149?
It affects 1 product.
Products include Hongdian H8922 Firmware.
How do I fix CVE-2021-28149?
No fix has been published for CVE-2021-28149 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-28149 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-28149 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as GHSA-mcvc-q5xw-3pf6.