mirror of
https://github.com/EdOverflow/bugbounty-cheatsheet.git
synced 2024-11-22 02:53:06 +00:00
update cors.md
This commit is contained in:
parent
14a70dc779
commit
510ebdd617
1 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,17 @@ Check to see what the server responds with in the `Access-Control-Allow-Origin:`
|
|||
|
||||
If it is trusting arbitrary origins **with** allow-credentials set to true, then host this HTML as a proof of concept.
|
||||
|
||||
## Some method to bypass CORS
|
||||
1. `Origin:null`
|
||||
2. `Origin:attacker.com`
|
||||
3. `Origin:attacker.target.com`
|
||||
4. `Origin:attackertarget.com`
|
||||
5. `Origin:sub.attackertarget.com`
|
||||
6. `Origin:attacker.com and then change the method Get to post/Post to Get`
|
||||
7. `Origin:sub.attacker target.com`
|
||||
8. `Origin:sub.attacker%target.com`
|
||||
9. `Origin:attacker.com/target.com`
|
||||
|
||||
```
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
|
Loading…
Reference in a new issue