CVE-2021-42165
published 2022-05-03CVE-2021-42165: MitraStar GPT-2541GNAC-N1 (HGU) 100VNZ0b33 devices allow remote authenticated users to obtain root access by executing command "deviceinfo show file…
PriorityP269high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
13.72%
96.0th percentile
MitraStar GPT-2541GNAC-N1 (HGU) 100VNZ0b33 devices allow remote authenticated users to obtain root access by executing command "deviceinfo show file &&/bin/bash" because of incorrect sanitization of parameter "path".
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mitrastar | gpt-2541gnac-n1_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Alert on execution of 'deviceinfo show file' commands that include shell metacharacters (e.g., '&&') in the 'path' parameter, indicating unsanitized input exploitation. ↗
- →Detect unexpected spawning of /bin/bash as a child process of the restricted CLI shell on MitraStar HGU devices, which would indicate successful privilege escalation to root. ↗
- ·Exploit requires prior authenticated access via SSH; credentials may be default (printed on the back of the router), so detection of SSH logins with default credentials is a relevant precursor indicator. ↗
- ·Vulnerability is confirmed on firmware version BR_g3.5_100VNZ0b33 specifically; other firmware versions may or may not be affected. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No writeups or analysis indexed.
https://github.com/leoservalli/Privilege-escalation-MitraStar/blob/main/README.mdhttps://packetstormsecurity.com/files/164333/Mitrastar-GPT-2541GNAC-N1-Privilege-Escalation.htmlhttps://www.exploit-db.com/exploits/50351https://github.com/leoservalli/Privilege-escalation-MitraStar/blob/main/README.mdhttps://packetstormsecurity.com/files/164333/Mitrastar-GPT-2541GNAC-N1-Privilege-Escalation.htmlhttps://www.exploit-db.com/exploits/50351
2022-05-03
Published