CVE-2021-27707
JSON

9.8critical

Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)CN allows remote attackers to execute arbitrary code via a crafte…

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
2.83% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)_CN allows remote attackers to execute arbitrary code via a crafted action/"portMappingIndex "request. This occurs because the "formDelPortMapping" function directly passes the parameter "portMappingIndex" to strcpy without limit.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
tenda g1_firmwarev15.11.0.17(9502)_cnNVD
tenda g3_firmwarev15.11.0.17(9502)_cnNVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

Buffer Overflow in Tenda G1 and G3 routers with firmware v15.11.0.17(9502)_CN allows remote attackers to execute arbitrary code via a crafted action/"portMappingIndex "request. This occurs because the "formDelPortMapping" function directly passes the parameter "portMappingIndex" to strcpy without limit.

NVD (es)

Un desbordamiento de búfer en los enrutadores Tenda versiones G1 y G3 con firmware v15.11.0.17(9502) _CN, permite a atacantes remotos ejecutar código arbitrario por medio de una petición diseñada action/"portMappingIndex". Esto ocurre porque la función "formDelPortMapping" pasa directamente el parámetro "portMappingIndex" a strcpy sin límite

References

https://hackmd.io/U7OVgYIuRcOKV7SW5-euHwexploit, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-27707 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-27707 changed 2026-06-17Public domain