{"schemaVersion":3,"id":"CVE-2021-31659","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-06-10T14:27:07.000Z","modified":"2026-07-09T00:13:29.135Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00559,"percentile":0.45731,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00559},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00559,"percentile":0.45731}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00559,"percentile":0.45731}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_LIYANSONG2018_CVE","name":"Cve","source":"github","url":"https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-29302","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-352","name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.","type":"weakness","status":"Stable","abstraction":"Compound","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/352.html"}],"affected":[{"vendor":"tp-link","product":"tl-sg2005_firmware","name":"tl-sg2005 firmware","label":"tl-sg2005_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"1.0.0:build_20180529_rel.40524","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.0:build_20180529_rel.40524","eol":null,"hubHref":"/vendor/tp-link/tl-sg2005"},{"vendor":"tp-link","product":"tl-sg2008_firmware","name":"tl-sg2008 firmware","label":"tl-sg2008_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"1.0.0:build_20180529_rel.40524","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.0:build_20180529_rel.40524","eol":null,"hubHref":"/vendor/tp-link/tl-sg2008"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31659","label":"github.com/liyansong2018/CVE/tree/main/2021/CVE-2021-31659","hostname":"github.com","tags":["Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-06-10T14:27:07.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-09T00:13:29.135Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T10:50:14.523Z","stale":false,"partial":false}}