SecurityContext

CVE-2021-27705: Tenda G1 & G3 - Buffer Overflow

  • Cve: CVE-2021-27705
  • Name: Tenda G1 & G3 - Buffer Overflow
  • 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/"qosIndex "request. This occurs because the "formQOSRuleDel" function directly passes the parameter "qosIndex" to strcpy without limit.
  • Impact: Remote attackers can execute arbitrary code on affected routers, potentially leading to full device compromise.
  • Remediation: Update to the latest firmware version provided by Tenda.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02943
  • Epss percentile: 0.8748
  • Assignee: [email protected]
  • Published at: 2021-04-14T15:15:13Z
  • Age in days: 2050
  • Modified at: 2026-06-17T03:45:21Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27705
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

Public exploits

UrlSourceAdded date
https://hackmd.io/Zb7lfFaNR0ScpaTssECFbgnvd2021-04-14

References

UrlSourceTags
https://hackmd.io/Zb7lfFaNR0ScpaTssECFbgnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
tenda:g3_firmware= v15.11.0.17(9502)_cnyesnvd/v1/products/tenda/g3_firmware
tenda:g1_firmware= v15.11.0.17(9502)_cnyesnvd/v1/products/tenda/g1_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-14
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts