Skip to content
IDOR Disclosed report Beginner

WooCommerce: Support Ticket indirect object reference

The WooCommerce support ticket system lacked an authorization check on the ticket reply endpoint, allowing any authenticated user to post comments to any other user's ticket by changing the ticket number in the request. An attacker could thus inject arbitrary comments into other customers' support tickets.

paresh_parmar Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 2 hours
  • Paid in 3 hours
  • Disclosed after 11 months

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

The original report as published on HackerOne, by paresh_parmar. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server-side handler for the ticket reply action did not verify that the authenticated user owned the ticket identified by the 'number' parameter.

Impact

An attacker could post comments on any other user's support ticket.

What the attacker needed

Victim's ticket ID

How it was found

  1. Go to the tickets page in the my-account area.
  2. Create a new ticket and note its ticket ID.
  3. Post a comment on your own ticket and capture the request in a proxy.
  4. Change the ticket number in the request to the victim's ticket ID and send it.
  5. The comment is successfully added to the victim's ticket.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you reply to a support ticket, your browser sends a request that includes the ticket's number. The website should check that you actually own that ticket before saving your comment. Here it did not, so anyone could change the number to someone else's ticket and post a comment there.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by paresh_parmar

View all

11 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.