Loading HuntDB...

IDOR Lead To VIEW & DELETE & Create api_key [HtUS]

Medium
U
U.S. Dept Of Defense
Submitted None
Reported by bate5a

Vulnerability Details

Technical details and impact analysis

Insecure Direct Object Reference (IDOR)
#### Hi Dod & Hackerone Team i hope you are Doing Well Today :) #### Explaining: * i found That a User With a Member Permission in a Organization Can Create & View & DELETE API_KEYS #### Step To Reproduce: 1_ First Create 2 Accounts From Here `https://███` 2_ Log in With The Victim User and Create New Group From Here `https://███/organization` 3_ After Creating The org, Go Here To invite New Users `https://█████████/organization/ORG-UUID/members` 4_ invite The Attacker User With The Role Member 5_ Now add Some Private Keys Here `https://██████████/organization/ORG-UUID/apiKeys` , and save The Req as Create_Req 6_ Switch Back To The Attacker User and Try To Access The Endpoint `https://██████/organization/ORG-UUID/apiKeys` , you will Notice You have Access To Read The apikey Now Copy The UUID of The apikey & Put it Here 7_ https://██████████/organization/ORG-UUID/apiKeys/API-UUID , make a DELETE req 8_ Now Copy The Cookies of The attacker & replace it with The Create_Req in Step `5`, * Now you can Create & View & DELET #### Poc_Video: █████ ## Impact IDOR Lead To VIEW & DELETE & Create Private api_key

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Submitted

Weakness

Insecure Direct Object Reference (IDOR)