mirror of
https://github.com/daffainfo/AllAboutBugBounty.git
synced 2024-12-18 18:36:12 +00:00
Update Insecure Direct Object References.md
This commit is contained in:
parent
db67aa4646
commit
4ef0eb014e
@ -114,5 +114,43 @@ Try this to bypass
|
|||||||
GET /file?id=302
|
GET /file?id=302
|
||||||
```
|
```
|
||||||
|
|
||||||
|
12. Change HTTP Method
|
||||||
|
```
|
||||||
|
GET /api/v1/users/profile/111
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
POST /api/v1/users/profile/111
|
||||||
|
```
|
||||||
|
|
||||||
|
13. Path traversal
|
||||||
|
```
|
||||||
|
GET /api/v1/users/profile/victim_id
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
GET /api/v1/users/profile/my_id/../victim_id
|
||||||
|
```
|
||||||
|
|
||||||
|
14. Change request content type
|
||||||
|
```
|
||||||
|
Content-type: application/xml
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
Content-type: application/json
|
||||||
|
```
|
||||||
|
|
||||||
|
15. Send wildcard instead of ID
|
||||||
|
```
|
||||||
|
GET /api/users/111
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
GET /api/users/*
|
||||||
|
```
|
||||||
|
|
||||||
|
16. Try google dorking to find new endpoint
|
||||||
|
|
||||||
Reference:
|
Reference:
|
||||||
- [@swaysThinking](https://twitter.com/swaysThinking) and other medium writeup
|
- [@swaysThinking](https://twitter.com/swaysThinking) and other medium writeup
|
||||||
|
Loading…
Reference in New Issue
Block a user