SecurityContext

CVE-2021-31659: TP-Link TL-SG2005/2008 - Cross Site Request Forgery

  • Cve: CVE-2021-31659
  • Name: TP-Link TL-SG2005/2008 - Cross Site Request Forgery
  • Description: TP-Link TL-SG2005, TL-SG2008, etc. 1.0.0 Build 20180529 Rel.40524 is vulnerable to Cross Site Request Forgery (CSRF). All configuration information is placed in the URL, without any additional token authentication information. A malicious link opened by the switch administrator may cause the password of the switch to be modified and the configuration file to be tampered with.
  • Impact: Attackers can change switch passwords and tamper with configuration, potentially leading to unauthorized access and network disruption.
  • Remediation: Implement CSRF tokens and update to the latest firmware version if available.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: privilege_escalation, data_tampering
  • Requirement type: user_interaction
  • Requirements: Attacker needs the administrator to open a malicious link
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00559
  • Epss percentile: 0.4719
  • Assignee: [email protected]
  • Published at: 2021-06-10T15:15:09Z
  • Age in days: 1993
  • Modified at: 2026-07-09T01:16:53Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31659
  • 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: hackerone

Cwe

IdName
CWE-352Cross-Site Request Forgery

Public exploits

UrlSourceAdded date
https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31659nvd2021-06-10

References

UrlSourceTags
https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31659nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
tp-link:tl-sg2005_firmware= 1.0.0 build_20180529_rel.40524yesnvd/v1/products/tp-link/tl-sg2005_firmware
tp-link:tl-sg2008_firmware= 1.0.0 build_20180529_rel.40524yesnvd/v1/products/tp-link/tl-sg2008_firmware

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-06-10
  • 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