# CVE-2024-1002: Totolink N200RE cstecgi.cgi setIpPortFilterRules stack-based overflow

- Severity: High 7.2 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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.25%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-29T14:00:06.271Z
- Modified: 2026-06-17T07:03:12.487Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## Description

A vulnerability classified as critical was found in Totolink N200RE 9.3.5u.6139_B20201216. Affected by this vulnerability is the function setIpPortFilterRules of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument ePort leads to stack-based buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-252271. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

(As written by CVE List.)

## Affected

- Totolink N200RE: 9.3.5u.6139_B20201216
- totolink n200re_firmware: 9.3.5u.6139_b20201216

## Every score

- VulDB: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- VulDB: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- VulDB: CVSS:2.0 8.3 High `AV:N/AC:L/Au:M/C:C/I:C/A:C`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://jylsec.notion.site/TOTOLINK-N200RE-has-stack-buffer-overflow-vulnerability-in-setIpPortFilterRules-71c3f0a947e14b7f95fa19b7d6676994?pvs=4> (exploit, third-party-advisory)
- <https://vuldb.com/?id.252271> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.252271> (permissions-required, signature, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-1002 · Whole record: https://cve.day/CVE-2024-1002.json · Rebuilt by cve.day 2026-11-25T22:58:36.412Z
