-
Notifications
You must be signed in to change notification settings - Fork 111
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 #59 from xElkomy/main
New Three Custom Scan checks
- Loading branch information
Showing
4 changed files
with
114 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
.vscode |
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,71 @@ | ||
metadata: | ||
language: v1-beta | ||
name: "Mass 48 Param For Open Redirect" | ||
description: "Open Redirect" | ||
author: "SirBugs, xelkomy" | ||
|
||
run for each: | ||
# you could add more values to this list to make the check repeat | ||
potential_path = | ||
"/https://bing.com/", | ||
"//https://bing.com//", | ||
"/?targetOrigin=https://bing.com/", | ||
"/?fallback=https://bing.com/", | ||
"/?query=https://bing.com/", | ||
"/?redirection_url=https://bing.com/", | ||
"/?next=https://bing.com/", | ||
"/?ref_url=https://bing.com/", | ||
"/?state=https://bing.com/", | ||
"/?1=https://bing.com/", | ||
"/?redirect_uri=https://bing.com/", | ||
"/?forum_reg=https://bing.com/", | ||
"/?return_to=https://bing.com/", | ||
"/?redirect_url=https://bing.com/", | ||
"/?return_url=https://bing.com/", | ||
"/?host=https://bing.com/", | ||
"/?url=https://bing.com/", | ||
"/?redirectto=https://bing.com/", | ||
"/?return=https://bing.com/", | ||
"/?prejoin_data=https://bing.com/", | ||
"/?callback_url=https://bing.com/", | ||
"/?path=https://bing.com/", | ||
"/?authorize_callback=https://bing.com/", | ||
"/?email=https://bing.com/", | ||
"/?origin=https://bing.com/", | ||
"/?continue=https://bing.com/", | ||
"/?domain_name=https://bing.com/", | ||
"/?redir=https://bing.com/", | ||
"/?wp_http_referer=https://bing.com/", | ||
"/?endpoint=https://bing.com/", | ||
"/?shop=https://bing.com/", | ||
"/?qpt_question_url=https://bing.com/", | ||
"/?checkout_url=https://bing.com/", | ||
"/?ref_url=https://bing.com/", | ||
"/?redirect_to=https://bing.com/", | ||
"/?succUrl=https://bing.com/", | ||
"/?file=https://bing.com/", | ||
"/?link=https://bing.com/", | ||
"/?referrer=https://bing.com/", | ||
"/?recipient=https://bing.com/", | ||
"/?redirect=https://bing.com/", | ||
"/?u=https://bing.com/", | ||
"/?hostname=https://bing.com/", | ||
"/?returnTo=https://bing.com/", | ||
"/?return_path=https://bing.com/", | ||
"/?image=https://bing.com/", | ||
"/?requestTokenAndRedirect=https://bing.com/", | ||
"/?retURL=https://bing.com/", | ||
"/?next_url=https://bing.com/" | ||
|
||
given host then | ||
send request called check: | ||
method: "GET" | ||
path: {potential_path} | ||
|
||
if "Location: https://bing.com" in {check.response.headers} then | ||
report issue: | ||
severity: low | ||
confidence: certain | ||
detail: `Open Redirect found at {potential_path}.` | ||
remediation: "Ensure your website are not redirect the users outside it without wihtelist." | ||
end if |
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,21 @@ | ||
metadata: | ||
language: v1-beta | ||
name: "Detect WoodWing Studio Server Panel" | ||
description: "Default creds: username: woodwing password: ww" | ||
author: "xelkomy" | ||
|
||
define: | ||
potential_path = "/StudioServer/server/apps/login.php" | ||
|
||
given host then | ||
send request called check: | ||
method: "GET" | ||
path: {potential_path} | ||
|
||
if "WoodWing Studio Server" in {check.response.body} then | ||
report issue: | ||
severity: info | ||
confidence: certain | ||
detail: `WoodWing Studio Server Panel at {potential_path}.` | ||
remediation: "Maybe there is defult creds impact Default creds: username: woodwing password: ww." | ||
end if |
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,21 @@ | ||
metadata: | ||
language: v1-beta | ||
name: "SSRF in each insetpoint" | ||
description: "Insert an Collaborator address into each parameter to detect SSRF" | ||
author: "xelkomy" | ||
|
||
define: | ||
ssrfaddress="{generate_collaborator_address()}" | ||
|
||
# we will automatically insert into nested insertion points | ||
given insertion point then | ||
send payload: | ||
appending: {ssrfaddress} | ||
|
||
if http interactions then | ||
report issue: | ||
severity: high | ||
confidence: firm | ||
detail: "SSRF Discovery by BCheck: Explore the Request Tab to Observe the Payload and Attempt Self-Capture" | ||
remediation: "Implement SSRF remediation measures to mitigate the vulnerability." | ||
end if |