ID

VAR-202510-2079


CVE

CVE-2025-12258


TITLE

TOTOLINK A3300R setOpModeCfg function stack buffer overflow vulnerability

Trust: 0.6

sources: CNVD: CNVD-2025-27574

DESCRIPTION

A vulnerability was detected in TOTOLINK A3300R 17.0.0cu.557_B20221024. Impacted is the function setOpModeCfg of the file /cgi-bin/cstecgi.cg of the component POST Parameter Handler. The manipulation of the argument opmode results in stack-based buffer overflow. The attack may be performed from remote. The TOTOLINK A3300R is a dual-band wireless router manufactured by TOTOLINK Electronics Co., Ltd. in China, primarily used in home and small network environments. This vulnerability stems from the fact that the `opmode` parameter in the `setOpModeCfg` function within the file `/cgi-bin/cstecgi.cg` fails to properly validate the length of the input data. Attackers could exploit this vulnerability to execute arbitrary code or cause a denial-of-service attack on the system

Trust: 1.44

sources: NVD: CVE-2025-12258 // CNVD: CNVD-2025-27574

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2025-27574

AFFECTED PRODUCTS

vendor:totolinkmodel:a3300rscope:eqversion:17.0.0cu.557_b20221024

Trust: 1.0

vendor:totolinkmodel:a3300r 17.0.0cu.557 b20221024scope: - version: -

Trust: 0.6

sources: CNVD: CNVD-2025-27574 // NVD: CVE-2025-12258

CVSS

SEVERITY

CVSSV2

CVSSV3

cna@vuldb.com: CVE-2025-12258
value: HIGH

Trust: 1.0

CNVD: CNVD-2025-27574
value: HIGH

Trust: 0.6

cna@vuldb.com: CVE-2025-12258
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.0

CNVD: CNVD-2025-27574
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

cna@vuldb.com: CVE-2025-12258
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

sources: CNVD: CNVD-2025-27574 // NVD: CVE-2025-12258

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.0

problemtype:CWE-121

Trust: 1.0

sources: NVD: CVE-2025-12258

PATCH

title:Patch for TOTOLINK A3300R setOpModeCfg function stack buffer overflow vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/752091

Trust: 0.6

sources: CNVD: CNVD-2025-27574

EXTERNAL IDS

db:NVDid:CVE-2025-12258

Trust: 1.6

db:VULDBid:329929

Trust: 1.0

db:CNVDid:CNVD-2025-27574

Trust: 0.6

sources: CNVD: CNVD-2025-27574 // NVD: CVE-2025-12258

REFERENCES

url:https://github.com/noahze01/iot-vulnerable/blob/main/totolink/a3300r/setopmodecfg.md

Trust: 1.6

url:https://vuldb.com/?submit.673725

Trust: 1.0

url:https://www.totolink.net/

Trust: 1.0

url:https://vuldb.com/?ctiid.329929

Trust: 1.0

url:https://vuldb.com/?id.329929

Trust: 1.0

sources: CNVD: CNVD-2025-27574 // NVD: CVE-2025-12258

SOURCES

db:CNVDid:CNVD-2025-27574
db:NVDid:CVE-2025-12258

LAST UPDATE DATE

2025-11-19T23:24:56.421000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2025-27574date:2025-11-11T00:00:00
db:NVDid:CVE-2025-12258date:2025-10-28T02:10:41.893

SOURCES RELEASE DATE

db:CNVDid:CNVD-2025-27574date:2025-11-10T00:00:00
db:NVDid:CVE-2025-12258date:2025-10-27T10:15:38.417