Code Monkey home page Code Monkey logo

Comments (74)

nynuz avatar nynuz commented on May 28, 2024 11

Hi, during a bug bounty activity I have found a subdomain vulnerable to takeover, the dig command returns this information:
sub.example.com CNAME [bucket_name].s3.amazonaws.com
and then:
[bucket_name].s3.amazonaws.com CNAME s3-1-w.amazonaws.com
I haven't the region information from dig command.

Also if I visit the page, I get an XML error. Below is the screenshot:
Screenshot_2020-02-26_15-59-34

The subdomain would seem vulnerable to takeover, but when I go to create the bucket from my AWS console, I get the following error:
Bucket name already exists

Anyone can help me?
Thank You!

from can-i-take-over-xyz.

pdelteil avatar pdelteil commented on May 28, 2024 5

Hello everyone,

I can confirm this takeover is still possible, adding some details:

  • If you get an error as 'the bucket .... already exists' --> it's not vulnerable.
  • A CNAME pointing to a AWS domain name is not necessary. I took a bucket that was pointing to several IP addresses. The relevant part is the response fingerprint.
  • The error with Code: IncorrectEndpoint can be fixed removing and creating the bucket in another region. It takes around 1 hour for the bucket to be removed, before that you won't be able to create it. Use AWS Cli to automate this part.
  • If you are getting Access denied errors, check this guide

from can-i-take-over-xyz.

codingo avatar codingo commented on May 28, 2024 3

@soynek You're going to need to dig into the documentation for this one, we've had to draw the line at this repository being treated like a support desk. This is here to outline the work people have contributed back, and to outline vulnerable areas, but if you have a specific subdomain takeover question then the documentation for that service is where you should be looking.

from can-i-take-over-xyz.

pdelteil avatar pdelteil commented on May 28, 2024 3

Hi @soareswallace
I discovered a subdomain whose CNAME is point to *.elb.amazonaws.com.
How can I takeover this subdomain? Is the process same as creating a s3 bucket?

Not really, usually before the elb there's a random number.

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024 2

I believe when we get this message @Mik317 , the take over is not possible. This message show that the bucket does exist and has an owner.

Stay safe,

Wallace

from can-i-take-over-xyz.

C0oki3s avatar C0oki3s commented on May 28, 2024 2

@six2dez please refer to this issue #361 I have faced similar kind of scenario hope it will be useful

from can-i-take-over-xyz.

sumgr0 avatar sumgr0 commented on May 28, 2024 1

I've come across a sub-domain which confirms the error message:

NoSuchBucket
The specified bucket does not exist
randombucket-assets

When use the dig command, the CNAME points to a random.cloudfront.net URL.

On trying to follow the above steps, getting below message while creating the S3 bucket with same name:
"Bucket name already exists"

I'm entering the full sub-domain name in the bucket name. Am I missing something to check?

Update: I've been able to find the S3 bucket URL: subdomain.s3.amazonaws.com

from can-i-take-over-xyz.

Mik317 avatar Mik317 commented on May 28, 2024 1

Hi @soareswallace :).
Thanks for the reply. I'll be lucky the next time ;)

Until that, stay safe and hack the world ;)

Regards,
Mik

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024 1

So far, from what I could search about it, is not possibly to take over amazon's load balance.

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024 1

And as @pdelteil replied above:

Not really, usually before the elb there's a random number.

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024 1

Try ping to know region and in case of subdomain not necessary you usually see them clear when firewall being used

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024 1

@Sim4n6 no i mean ping sub.site.com

from can-i-take-over-xyz.

gister9000 avatar gister9000 commented on May 28, 2024 1

@radiustama77 AWS has very granular permission controls. Opening sub.domain.com/ needs s3:ListBucket permission which you don't have. However, you do have permission to s3:GetObject so if you can guess the name of the file, you will be able to get it.
Based on the behavior you described, subdomain takeover is not possible. Also, it seems that bucket files are intended to be public based on 'index.html' filename implications. You may try brute-forcing for filenames and see if you get something sensitive (with gobuster for example).

from can-i-take-over-xyz.

six2dez avatar six2dez commented on May 28, 2024 1

Hi guys I found the following scenario:

  1. subdomain.example.com returning NoSuchBucket

  2. dig cname subdomain.example.com returns:

> dig cname subdomain.example.com                                                                   

; <<>> DiG 9.18.12-0ubuntu0.22.04.3-Ubuntu <<>> cname subdomain.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43658
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;subdomain.example.com.	IN	CNAME

;; ANSWER SECTION:
subdomain.example.com. 3600 IN	CNAME	RANDOM_NAME_SEQUENCE.s3.amazonaws.com.

;; Query time: 31 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Thu Nov 02 10:55:24 CET 2023
;; MSG SIZE  rcvd: 131
  1. Checked bucket region by curl -sI RANDOM_NAME_SEQUENCE.s3.amazonaws.com | grep bucket-region

  2. Claimed and created an S3 bucket with the name RANDOM_NAME_SEQUENCE.s3.amazonaws.com on the region from the previous step and uploaded a poc to RANDOM_NAME_SEQUENCE.s3.amazonaws.com/poc, made it public, both the bucket and the poc file.

  3. Navigated to https://RANDOM_NAME_SEQUENCE.s3.amazonaws.com/poc and the file shows properly.

  4. subdomain.example.com/poc still shows NoSuchBucket.

Also tried the to create the bucket as static website hosting. Does anyone found this scenario or know what's happening here?

from can-i-take-over-xyz.

PatrikHudak avatar PatrikHudak commented on May 28, 2024

Official documentation link: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html

from can-i-take-over-xyz.

soynek avatar soynek commented on May 28, 2024

id 64053
opcode QUERY
rcode NOERROR
flags QR RD RA
;QUESTION
girishsarwal.me. IN CNAME
;ANSWER
;AUTHORITY
something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
;ADDITIONAL

in s3 bucket, i'm facing this problem. What's solution for this ?
Screenshot_1

from can-i-take-over-xyz.

soynek avatar soynek commented on May 28, 2024

@codingo
I want to takeover a subdomain and i face that problem as in picture showing. Any solution for this?

from can-i-take-over-xyz.

yoursquad13 avatar yoursquad13 commented on May 28, 2024

Hi
I found a domain with CNAME *.cloudfront.net
When I access it from browser it returned empty. I tried to add it to bucket by steps above and was successfully added. But when I access it, it's still empty, I tried other subdomains from same domain but they say 'Bucket name already exist'.
Please explain me this

from can-i-take-over-xyz.

PatrikHudak avatar PatrikHudak commented on May 28, 2024

@yoursquad13 Because *.cloudfront.net is not a subdomain for S3

from can-i-take-over-xyz.

OGoodness avatar OGoodness commented on May 28, 2024

@webliqui
Any news on this issue? I am running into the same thing

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024

Have you guys ran the AWS CLI like aws s3 ls <bucket_name>? I think this command search in all regions for a bucket name.

from can-i-take-over-xyz.

theinfosecguy avatar theinfosecguy commented on May 28, 2024

@webliqui You found something?
I'm facing the same issue.
@codingo Do you have some solution for this?

from can-i-take-over-xyz.

Zachswan1 avatar Zachswan1 commented on May 28, 2024

same issue as @webliqui. @codingo?

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024

I believe, as I mentioned above, this issue is related to the region. This bucket may not be created on the region that you are testing on. But if you use the AWS CLI (aws s3 ls <bucket_name>) I believe you would find the bucket. I suggest you to test using the AWS CLI.

from can-i-take-over-xyz.

Mik317 avatar Mik317 commented on May 28, 2024

Hi @soareswallace :),
I got the same error and when I execute the command you suggested in the latest reply, I get this error: An error occurred (AllAccessDisabled) when calling the ListObjectsV2 operation: All access to this object has been disabled ... any tip to make possible the take over ?

Regards,
Mik

from can-i-take-over-xyz.

FaizanNehal avatar FaizanNehal commented on May 28, 2024

Hi @soareswallace
I discovered a subdomain whose CNAME is point to *.elb.amazonaws.com.
How can I takeover this subdomain? Is the process same as creating a s3 bucket?

from can-i-take-over-xyz.

soareswallace avatar soareswallace commented on May 28, 2024

Hi @FaizanNehal,

I tried once, but never found out how to do it. I also would like to know how we can takeover. Let us know if you discover anything.

Wallace

from can-i-take-over-xyz.

vemoa avatar vemoa commented on May 28, 2024

Anyone knows about amazon route 53???? Is it vulnerable?

from can-i-take-over-xyz.

PxHunt3r avatar PxHunt3r commented on May 28, 2024

I found a subdomain.domain.com that is vulnerable, and confirmed with dig that CNAME was for s3 bucket in Verginia
When I tried creating the bucket with the same name it worked but the endpoint for the bucket was like so:
^[a-z0-9\.\-]{0,63}\.?s3-website[\.-](eu|ap|us|ca|sa|cn)-\w{2,14}-\d{1,2}\.amazonaws.com(\.cn)?$
Which is mentioned in the documentation. OR
^[a-z0-9\.\-]{0,63}\.?s3.amazonaws\.com$/subdomain.domain.com/
Which is not.

my question is since it is not mentioned in the steps above how to make those regexes point to subdomain.domain.com?

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

is this service still vulnerable?

from can-i-take-over-xyz.

anantupadhya avatar anantupadhya commented on May 28, 2024

Hi,
I have found "The specified bucket does not exist" for few subdomains. But when I do a dig, the subdomains fail to give a CNAME record. So does it mean that they are not vulnerable. Or am I missing something here?

from can-i-take-over-xyz.

empty00 avatar empty00 commented on May 28, 2024

Hi @soareswallace
I discovered a subdomain whose CNAME is point to *.elb.amazonaws.com.
How can I takeover this subdomain? Is the process same as creating a s3 bucket?

did u find any info about it?

from can-i-take-over-xyz.

empty00 avatar empty00 commented on May 28, 2024

okey , thanks

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

id 64053
opcode QUERY
rcode NOERROR
flags QR RD RA
;QUESTION
girishsarwal.me. IN CNAME
;ANSWER
;AUTHORITY
something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
;ADDITIONAL

in s3 bucket, i'm facing this problem. What's solution for this ?
Screenshot_1

in this case i try to create bucket by deleteing at recreating it ofcourse it take time but work it.

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

@technicaljunkie which kind?

from can-i-take-over-xyz.

Sim4n6 avatar Sim4n6 commented on May 28, 2024

Hi,

I've got the fingerprint The specified bucket does not exist However, when I dig for dns records using dig +nocmd +noall +answer CNAME sub.domain.com I get nothing on CNAME record ?

Does it mean some measures have already been taken ? can I take it over ?

Thank you in advance

from can-i-take-over-xyz.

Sim4n6 avatar Sim4n6 commented on May 28, 2024

Do you mean traceroute?

from can-i-take-over-xyz.

Sim4n6 avatar Sim4n6 commented on May 28, 2024

Well, either dig or ping got me the IP address. And it is located in Zurich. Now the question is the bucket name is unknown.

from can-i-take-over-xyz.

Sim4n6 avatar Sim4n6 commented on May 28, 2024

CNAME of sub.domain.com does not show a domain of format ^[a-z0-9.-]{0,63}.?s3.amazonaws.com$

But curl -v does return the fingerprint.

from can-i-take-over-xyz.

Sim4n6 avatar Sim4n6 commented on May 28, 2024

I've got the bucket name, so unfortunate the name is already taken 😕😕

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL

in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

Got this errror solved in some of my takeovers

from can-i-take-over-xyz.

AkshayraviC09YC47 avatar AkshayraviC09YC47 commented on May 28, 2024

I was checking for subdomain takeover and got a s3 bucket which doesn't exists and confirmed the takeover vulnerability with subzy, but the problem is im not able to create bucket with the vulnerable domain name, its says, Bucket with the same name already exists, so how to takeover this bucket??

eiTL45H29314

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

I was checking for subdomain takeover and got a s3 bucket which doesn't exists and confirmed the takeover vulnerability with subzy, but the problem is im not able to create bucket with the vulnerable domain name, its says, Bucket with the same name already exists, so how to takeover this bucket??

eiTL45H29314

It can possibly be a honeypot i saw same during one target else confirm you are entering bucket name because sometimes it's not same as host url

from can-i-take-over-xyz.

Finlay1010 avatar Finlay1010 commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL

in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

Bucket region mismatch change region

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

In your case us-west-2 is region

from can-i-take-over-xyz.

Finlay1010 avatar Finlay1010 commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

Bucket region mismatch change region

@GDATTACKER-RESEARCHER how can you find out which one you need to change to out of the 22 options?

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

Bucket region mismatch change region

@GDATTACKER-RESEARCHER how can you find out which one you need to change to out of the 22 options?

Different ways depend on case by case bases by ping, other buckets in use by site, cname etc

from can-i-take-over-xyz.

SAGEof6iixPATHS avatar SAGEof6iixPATHS commented on May 28, 2024

Is this vulnerable?
asdasd.target.com shows this

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
<Resource>/asd</Resource>
<RequestId>uzEH...</RequestId>
</Error>

And DIG shows this:

target.com.       *   IN      NS      ns-*.awsdns-53.net.
target.com.       *   IN      NS      ns-*.awsdns-58.org.
target.com.       *   IN      NS      ns-*.awsdns-23.co.uk.
target.com.       *   IN      NS      ns-*.awsdns-44.com.

* - Stars are in the place of some numbers

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

Is this vulnerable? asdasd.target.com shows this

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
<Resource>/asd</Resource>
<RequestId>uzEH...</RequestId>
</Error>

And DIG shows this:

target.com.       *   IN      NS      ns-*.awsdns-53.net.
target.com.       *   IN      NS      ns-*.awsdns-58.org.
target.com.       *   IN      NS      ns-*.awsdns-23.co.uk.
target.com.       *   IN      NS      ns-*.awsdns-44.com.

* - Stars are in the place of some numbers

Yes

from can-i-take-over-xyz.

SAGEof6iixPATHS avatar SAGEof6iixPATHS commented on May 28, 2024

Is this vulnerable? asdasd.target.com shows this

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
<Resource>/asd</Resource>
<RequestId>uzEH...</RequestId>
</Error>

And DIG shows this:

target.com.       *   IN      NS      ns-*.awsdns-53.net.
target.com.       *   IN      NS      ns-*.awsdns-58.org.
target.com.       *   IN      NS      ns-*.awsdns-23.co.uk.
target.com.       *   IN      NS      ns-*.awsdns-44.com.

* - Stars are in the place of some numbers

Yes

Have you tried?

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

Is this vulnerable? asdasd.target.com shows this

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
<Resource>/asd</Resource>
<RequestId>uzEH...</RequestId>
</Error>

And DIG shows this:

target.com.       *   IN      NS      ns-*.awsdns-53.net.
target.com.       *   IN      NS      ns-*.awsdns-58.org.
target.com.       *   IN      NS      ns-*.awsdns-23.co.uk.
target.com.       *   IN      NS      ns-*.awsdns-44.com.

* - Stars are in the place of some numbers

Yes

Have you tried?

🤣😂 nice question i still hai 15 buckets claimed i guess

from can-i-take-over-xyz.

SAGEof6iixPATHS avatar SAGEof6iixPATHS commented on May 28, 2024

Is this vulnerable? asdasd.target.com shows this

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist.</Message>
<Resource>/asd</Resource>
<RequestId>uzEH...</RequestId>
</Error>

And DIG shows this:

target.com.       *   IN      NS      ns-*.awsdns-53.net.
target.com.       *   IN      NS      ns-*.awsdns-58.org.
target.com.       *   IN      NS      ns-*.awsdns-23.co.uk.
target.com.       *   IN      NS      ns-*.awsdns-44.com.

* - Stars are in the place of some numbers

Yes

Have you tried?

🤣😂 nice question i still hai 15 buckets claimed i guess

Good for you, thanks for the help!!

from can-i-take-over-xyz.

radiustama77 avatar radiustama77 commented on May 28, 2024

Hello everyone,

I can confirm this takeover is still possible, adding some details:

  • If you get an error as 'the bucket .... already exists' --> it's not vulnerable.
  • A CNAME pointing to a AWS domain name is not necessary. I took a bucket that was pointing to several IP addresses. The relevant part is the response fingerprint.
  • The error with Code: IncorrectEndpoint can be fixed removing and creating the bucket in another region. It takes around 1 hour for the bucket to be removed, before that you won't be able to create it. Use AWS Cli to automate this part.
  • If you are getting Access denied errors, check this guide

i try to take subdomain from s3 bucket, if i try access subdomain ex : sub.domain.com always return error 403. but if i access sub.domain.com/index.html it can be open normally. whats the problem?

from can-i-take-over-xyz.

radiustama77 avatar radiustama77 commented on May 28, 2024

@radiustama77 AWS has very granular permission controls. Opening sub.domain.com/ needs s3:ListBucket permission which you don't have. However, you do have permission to s3:GetObject so if you can guess the name of the file, you will be able to get it. Based on the behavior you described, subdomain takeover is not possible. Also, it seems that bucket files are intended to be public based on 'index.html' filename implications. You may try brute-forcing for filenames and see if you get something sensitive (with gobuster for example).

what i mean is, i already can takeover several subdomain. but for some subdomain, whenever i try to access with subdomain.example.com it return to error 403 access denied. But if i access it with subdomain.example.com/index.html it works and normal.

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

@radiustama77 AWS has very granular permission controls. Opening sub.domain.com/ needs s3:ListBucket permission which you don't have. However, you do have permission to s3:GetObject so if you can guess the name of the file, you will be able to get it. Based on the behavior you described, subdomain takeover is not possible. Also, it seems that bucket files are intended to be public based on 'index.html' filename implications. You may try brute-forcing for filenames and see if you get something sensitive (with gobuster for example).

what i mean is, i already can takeover several subdomain. but for some subdomain, whenever i try to access with subdomain.example.com it return to error 403 access denied. But if i access it with subdomain.example.com/index.html it works and normal.

That's because you have not specified index files in static hosting which you need to for index page. Else it keep coming up with error 403

from can-i-take-over-xyz.

radiustama77 avatar radiustama77 commented on May 28, 2024

@GDATTACKER-RESEARCHER I already specified the index file in static hosting.
the url from s3 amazon work properly too like subdomain.s3-website-us-east-1.amazonaws.com but error still happened when i try to access via subdomain.example.com

from can-i-take-over-xyz.

0xpr4bin avatar 0xpr4bin commented on May 28, 2024

It means that the ,bucket is not available for takeovers.
123Capture

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

It means that the ,bucket is not available for takeovers. 123Capture

Yes it is not possible to claim this one as it's already in use just the permissions for static hosting has been disabled

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

In your case us-west-2 is region

how to know the region?

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

In your case us-west-2 is region

how to know the region?

simply change the region to us-west-2 in your case for domain girishsarwal.me

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

id 64053 opcode QUERY rcode NOERROR flags QR RD RA ;QUESTION girishsarwal.me. IN CNAME ;ANSWER ;AUTHORITY something.me. 899 IN SOA ns-732.awsdns-27.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 ;ADDITIONAL
in s3 bucket, i'm facing this problem. What's solution for this ? Screenshot_1

@soynek did you ever find a solution to this? If so, how did you fix it?

In your case us-west-2 is region

how to know the region?

simply change the region to us-west-2 in your case for domain girishsarwal.me

image
like in this how i can get the correct region to create a bucket with this domains

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

image
what the common methods? to get the region

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

image what the common methods? to get the region

simply you can also reffer ip history to find the exact ip range matching your vulnerable domain ip https://ip-ranges.amazonaws.com/ip-ranges.json

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

image what the common methods? to get the region

simply you can also reffer ip history to find the exact ip range matching your vulnerable domain ip https://ip-ranges.amazonaws.com/ip-ranges.json

i check the ip for my site with the ping , and then use method like you do to check ip ranges in the amazon prefix but didnt found how i can get the region ? if the ip not avalaibe in that data you send

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

Using other bucket used by websites's default location, using the ip ranges of bucket, use aws-cli to know region etc

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

image what the common methods? to get the region

simply you can also reffer ip history to find the exact ip range matching your vulnerable domain ip https://ip-ranges.amazonaws.com/ip-ranges.json

i check the ip for my site with the ping , and then use method like you do to check ip ranges in the amazon prefix but didnt found how i can get the region ? if the ip not avalaibe in that data you send

Ip range is available if you know networking you should know easily your ip range is mentioned there.

from can-i-take-over-xyz.

t101804 avatar t101804 commented on May 28, 2024

girishsarwal.me

yeah i mean how to know the region of the domain?

simply try common methods if not possible by that you need to change regions after every 2 hours until you get right one

image what the common methods? to get the region

simply you can also reffer ip history to find the exact ip range matching your vulnerable domain ip https://ip-ranges.amazonaws.com/ip-ranges.json

i check the ip for my site with the ping , and then use method like you do to check ip ranges in the amazon prefix but didnt found how i can get the region ? if the ip not avalaibe in that data you send

Ip range is available if you know networking you should know easily your ip range is mentioned there.

example this endpass.com this i lookup ip
and got 104.21.37.171 after that i check in iprange prefix amazon but still didnt find , can you give advice?

from can-i-take-over-xyz.

knowthetech avatar knowthetech commented on May 28, 2024

why you need script for it when you can do manually.

from can-i-take-over-xyz.

4nibhal avatar 4nibhal commented on May 28, 2024

Hi guys, is this still vulnerable?
I get an error that the bucket name is already taken.🤔

from can-i-take-over-xyz.

cyberduck404 avatar cyberduck404 commented on May 28, 2024
Bucket with the same name already exists

Is this edge case now?

from can-i-take-over-xyz.

GDATTACKER-RESEARCHER avatar GDATTACKER-RESEARCHER commented on May 28, 2024
Bucket with the same name already exists

Is this edge case now?

No

from can-i-take-over-xyz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.