cbcvebase.
CVE-2025-3989
published 2025-04-27

CVE-2025-3989: A vulnerability classified as critical was found in TOTOLINK N150RT 3.4.0-B20190525. Affected by this vulnerability is an unknown functionality of the file…

PriorityP260high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.85%
53.6th percentile
A vulnerability classified as critical was found in TOTOLINK N150RT 3.4.0-B20190525. Affected by this vulnerability is an unknown functionality of the file /boafrm/formStaticDHCP. The manipulation of the argument Hostname leads to buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Affected

2 ranges
VendorProductVersion rangeFixed in
totolinkn150rt
totolinkn150rt_firmware

Detection & IOCsextracted from sources · hover to see the quote

path/boafrm/formStaticDHCP
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS D-Link DWR-M961/Totolink N150RT formStaticDHCP buffer overflow (CVE-2025-3785, CVE-2025-3989)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:22; content:"/boafrm/formStaticDHCP"; fast_pattern; http.request_body; content:"hostname"; nocase; pcre:"/^.{200}/R"; reference:url,vulners.com/cvelist/CVELIST:CVE-2025-3785; reference:cve,2025-3785; reference:cve,2025-3989; classtype:attempted-admin; sid:2061744; rev:1; metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_04_18, cve CVE_2025_3785, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_18, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Exploit is delivered via HTTP POST to the exact URI /boafrm/formStaticDHCP with a URI length of exactly 22 bytes.
  • The request body must contain the parameter 'hostname' (case-insensitive) with a value exceeding 200 characters to trigger the buffer overflow.
  • Traffic is expected in plaintext (non-TLS); deploy detection at the network perimeter and internally.
  • The vulnerability is triggered by manipulating the 'Hostname' argument in the formStaticDHCP handler, leading to a stack/heap buffer overflow exploitable remotely.
  • ·The Snort/Suricata rule (SID 2061744) covers both CVE-2025-3785 (D-Link DWR-M961) and CVE-2025-3989 (TOTOLINK N150RT) as they share the same vulnerable endpoint; tune or split the rule if per-CVE attribution is required.
  • ·Affected version is TOTOLINK N150RT 3.4.0-B20190525; scope detection to this specific firmware version to reduce false positives on patched or unrelated devices.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
Stop checking back — get the weekly exploitation signal.

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.