Skip to content

Commit

Permalink
AWS S3 and Shopify takeover
Browse files Browse the repository at this point in the history
  • Loading branch information
Fadavvi authored Aug 4, 2023
1 parent a03be28 commit 21bfc0d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions other/takeover-s3-bucket.bcheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
metadata:
language: v1-beta
name: "AWS S3 Bucket takeover"
description: "Possible sub-domain takeover via AWS S3 bucket."
tags: "passive,s3,takeover,cloud"
author: "Milad Fadavvi"


given response then
if "NoSuchBucket" in {latest.response} and "BucketName:" in {latest.response} then
report issue:
severity: high
confidence: firm
detail: "https://github.com/EdOverflow/can-i-take-over-xyz/issues/36"
remediation: "Delete the related DNS record."
end if
16 changes: 16 additions & 0 deletions other/takeover-shopify.bcheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
metadata:
language: v1-beta
name: "Shopify subdomain takeover"
description: "Possible sub-domain takeover | Shopify"
tags: "passive,shopify,takeover,cloud"
author: "Milad Fadavvi"


given response then
if ("To finish setting up your new web address, go to your domain settings, click \"Connect existing domain\"" in {latest.response} or "Sorry, this shop is currently unavailable." in {latest.response}) and "shop-not-found" in {latest.response} then
report issue:
severity: high
confidence: firm
detail: "info --> https://github.com/EdOverflow/can-i-take-over-xyz/issues/46"
remediation: "Delete the related DNS record."
end if

0 comments on commit 21bfc0d

Please sign in to comment.