2021-06-10 08:07:33 +00:00
id : ckan-dom-based-xss
info :
2022-09-21 21:42:27 +00:00
name : Ckan - DOM Cross-Site Scripting
2021-06-10 08:07:33 +00:00
author : dhiyaneshDk
2022-09-21 21:42:27 +00:00
severity : high
description : Ckan contains a cross-site scripting vulnerability in the document object model via the previous version of the jQuery Sparkle library. An attacker can execute arbitrary script and thus can steal cookie-based authentication credentials and launch other attacks.
2022-04-22 10:38:41 +00:00
reference :
- https://github.com/ckan/ckan/blob/b9e45e2723d4abd70fa72b16ec4a0bebc795c56b/ckan/public/base/javascript/view-filters.js#L27
2022-09-21 21:42:27 +00:00
- https://security.snyk.io/vuln/SNYK-PYTHON-CKAN-42010
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
cwe-id : CWE-79
2021-06-10 08:07:33 +00:00
tags : dom,xss
requests :
- method : GET
path :
- '{{BaseURL}}/?{alert(1)}'
2021-06-10 11:57:21 +00:00
matchers-condition : and
2021-06-10 08:07:33 +00:00
matchers :
- type : status
status :
- 200
- type : word
words :
- '<option value="/en/?{alert(1)}" selected="selected">'
- type : word
words :
- 'text/html'
part : header
2022-09-21 21:42:27 +00:00
# Enhanced by md on 2022/09/20