# CVE-2025-4851: TOTOLINK N300RH cstecgi.cgi setUploadUserData command injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-18T03:31:05.521Z
- Modified: 2026-06-17T09:34:09.527Z
- Weaknesses: CWE-74, CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as critical was found in TOTOLINK N300RH 6.1c.1390_B20191101. This vulnerability affects the function setUploadUserData of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument FileName leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- TOTOLINK N300RH: 6.1c.1390_B20191101
- totolink n300rh_firmware: 6.1c.1390_b20191101

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/CH13hh/tmp_store_cc/blob/main/tt/ta/m3.md> (exploit, broken-link)
- <https://vuldb.com/?id.309322> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.309322> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.575074> (third-party-advisory, vdb-entry)
- <https://www.totolink.net/> (product)

## Sources

- CVE List: [CVE-2025-4851](https://www.cve.org/CVERecord?id=CVE-2025-4851), CVE Terms of Use, modified 2025-05-19
- NVD: [CVE-2025-4851](https://nvd.nist.gov/vuln/detail/CVE-2025-4851), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4851 · Whole record: https://cve.day/CVE-2025-4851.json · Rebuilt by cve.day 2026-11-25T22:58:58.180Z
