Here's a couple of things worth a try to get an IDOR

Comment below if you've other useful tips & techniques.

๐Ÿงต๐Ÿ‘‡

#bugbounty #bugbountytips #infosec
1. Change file type

If you've an endpoint such as /users/passoword you might want to try /users/password.json or other extensions like .xml etc.
2. Convert ID to json body or array

If you've {"id":111} that gives you 401, you might want to try {"id":[111]} and {"id":{"id":111}}
3. Test the endpoint in mobile environment

Sometimes, the webapps using any protected or encoded data in endpoint might be left without any protection in mobile.
4. Change request method

GET -> POST
5. Testing wildcards

If you've GET /api/v1/userlist/user1 or something similar try /api/v1/userlist/*
6. Working with versioning

Many api endpoints intend to have something like /api/v2/dir and in such cases we can test v2's endpoints and parameters on api/v1 and it might give different unexpected results
7. Remove / add parameters

Just simply removing a parameter such as in /api/users?getUID=2341234 you might want to remove getUID and it might leak info of all users

Also, try add same/different parameters such as /api/users?getUID=attackerID&getUID=victimID
8. {CLASSIC}

Replace your ID with another account ID that you've created

Eg: /sensitive/userinfo?uid=123 -? /sensitive/userinfo?uid=124
Hey ๐Ÿ‘‹, I'm Nithin

๐Ÿ’ป CS / Tech
๐Ÿฆนโ€โ™‚๏ธ Infosec / Bug Bounty
๐Ÿ’ฐ Finance
๐Ÿ“š Books / Productivity

Follow @thebinarybot if you're interested in either of the topics mentioned above. I

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Nithin R

Nithin R Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @thebinarybot

12 Oct
Here's a list of some of the Youtubers I'm following as a beginner bug bounty hunter. ( They're in no particular order of ranking )

๐Ÿงต๐Ÿ‘‡
1. @zseano <3<3<3

Channel : youtube.com/c/zseano

Personal favourite :

It's the mindset that matters, always.
2. @theXSSrat My man <3

Channel : youtube.com/c/TheXSSrat

Personal favourite :

(Bet you saw this coming ? :P)
Read 9 tweets
11 Oct
The 2 minute rule.

A Thread.

๐Ÿงต๐Ÿ‘‡
The main idea behind the 2 minute rule is to slowly curb procrastination off the list of unhealthy habits.
There are different varieties and variations to this, but the main idea is to get started with what you can do under 2 minutes immediately without thinking.
Read 7 tweets
11 Oct
I posted a thread on SSRF protection bypasses with different encodings yesterday.

But there's a lot more you can do to bypass filters.

Let's look at some of them below. ( Also, comment your most used and favourite bypasses )

๐Ÿงต๐Ÿ‘‡
1. DNS Pinning

To get an A-record that resolves into IP, use the following subdomain.

make-<IP>-rr.1u.ms
2. Bypass with Open Redirection

Eg. /nextPage?path=192.168.0.10/secretInfo
Read 9 tweets
10 Oct
Bypass SSRF protection with different encodings.

A thread.

๐Ÿงต๐Ÿ‘‡
1. Hex encoding.

If 127.0.0.1 is blocked, try 0x7f.0x0.0x0.0x1
2. Octal encoding.

If 127.0.0.1 is blocked, try 0177.0.0.01
Read 8 tweets
9 Oct
#Bitcoin and the Store of Value.

A Thread

๐Ÿงต๐Ÿ‘‡
Store of value is a way of preserving wealth over time. This is extremely useful if you've a surplus from the essentials and would like to preserve it for the future.

Gold is considered to be the this store of value, but gold does have certain issues to be addressed.
The problems with Gold :

1. Wastage when conversion is very likely and we intend to lose some money in the process.

2. Gold is difficult to store and safeguard. Since gold is a physical entity and pretty much worn as an accessory, it is subject to theft often.
Read 9 tweets
9 Oct
People intend to talk about success and not the failures or mistakes just to seem near perfect. But it's them mistakes that make us better.

Here's a list of mistakes that I did as a beginner programmer and you might want to avoid some of these.

๐Ÿงต๐Ÿ‘‡
1. Choosing to code at the very beginning without understanding and breaking down the problem to find a solution.

It's always been helpful to sketch the problem & solution with pen and paper before attempting to code directly.
2. Learning loop

I intend to know the indepth knowledge about a topic and jump from one resource to another. Working hand on rather than just watching tutorials has proven to be helpful.
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Thank you for your support!

Follow Us on Twitter!

:(