CVE-2021-45839
published 2022-04-25CVE-2021-45839: It is possible to obtain the first administrator's hash set up on the system in Terramaster F4-210, F2-210 TOS 4.2.X (4.2.15-2107141517) as well as other…
PriorityP350medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EXPLOIT
EPSS
9.45%
94.8th percentile
It is possible to obtain the first administrator's hash set up on the system in Terramaster F4-210, F2-210 TOS 4.2.X (4.2.15-2107141517) as well as other information such as MAC address, internal IP address etc. by performing a request to the /module/api.php?mobile/webNasIPS endpoint.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| terra-master | tos | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for unauthenticated GET/POST requests to /module/api.php?mobile/webNasIPS — this endpoint leaks the first administrator's password hash, MAC address, and internal IP address without authentication. ↗
- →Detect requests to /tos/index.php?app/del as part of the chained RCE exploit (CVE-2021-45837); this endpoint is used for arbitrary command execution as root following session crafting. ↗
- →Alert on self-signed session cookies crafted using the target MAC address and user password hash (CVE-2021-45841); guest login abuse is possible with a null/empty hash even when guest accounts are disabled by default. ↗
- ·Affected versions are TerraMaster TOS 4.2.15 and below (specifically confirmed on F4-210, F2-210 TOS 4.2.X / 4.2.15-2107141517). Ensure version scope is validated before deploying detections. ↗
- ·CVE-2021-45839 is one link in a three-CVE chain (also involving CVE-2021-45841 for session crafting and CVE-2021-45837 for RCE); detections should cover all three endpoints for full coverage. ↗
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
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.
http://packetstormsecurity.com/files/172881/TerraMaster-TOS-4.2.15-Remote-Code-Execution.htmlhttps://thatsn0tmy.site/posts/2021/12/how-to-summon-rces/http://packetstormsecurity.com/files/172881/TerraMaster-TOS-4.2.15-Remote-Code-Execution.htmlhttps://thatsn0tmy.site/posts/2021/12/how-to-summon-rces/
2022-04-25
Published