
Summary: Hi team Hope you are good Missing proper authorization checks on the vulnerable request allows an attacker to approve/decline afk of users on the behalf of other user who is a member of other organization. This can be exploited simply by changing the responder_user_id in the vulnerable request. Platform(s) Affected: [Happy tools / Website] Steps To Reproduce: Create two accounts for happy tools and login into two different browsers say accounts 1 and 2 and browser A and B. Configure browser A with burp proxy Put an AFK request. Go to https://schedule.happy.tools/afk and click on approve or decline and capture the request in burp. Now replace the value of responder_user_id with the user id of account 2. Valid response is shown. Supporting Material/References: F621606 In this screenshot, the user_id: 1920 is the id of user who belongs to account 1 and the responder_user_id:1923 is the id of user B who belongs to different account and both users belong to different organizations. Vulnerable request : ``` POST /wpcom/v2/happytools/external/v1/schedule/afk-requests/12346 HTTP/1.1 Host: public-api.wordpress.com Connection: close Content-Length: 208 Accept: application/json, text/plain, / Origin: https://schedule.happy.tools Authorization: ZZZZZZZZZZZZZZZZZ User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 Sec-Fetch-Mode: cors Content-Type: application/json;charset=UTF-8 Sec-Fetch-Site: cross-site...
SOCIAL SHARE CARD GENERATOR