# Disclose Hidden Comments on Media Section of hub.vroid.com

IDOR on hub.vroid.com's like-comment endpoint let any authenticated user POST a hidden comment's ID and receive its content and owner in the response.

- Payout: $500
- Severity: medium
- Program: pixiv
- Found by: giwadaoud
- Disclosed: 2026-01-18
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/2541962
- Library page: https://bugbountylibrary.com/r/h1%3A2541962
- Tags: area:web domain:web impact:data-leak kind:bounty platform:hackerone sev:medium tech:rest vuln:access-control vuln:idor vuln:info-disclosure

**Target:** POST /api/statuses/{id}/hearts on hub.vroid.com
**Root cause:** The like endpoint authorizes the action but does not check whether the target comment is visible to the requester, and its response echoes the full comment object including content and owner.
**Steps:**
1. Create two accounts (attacker, victim) on accounts.pixiv.net and log into hub.vroid.com
2. Victim submits a character, uploads media with comments enabled, posts a comment, then disables comments
3. Obtain the hidden comment ID (e.g. from page source `entityIds`)
4. As attacker, send `POST /api/statuses/<COMMENT_ID>/hearts` with `X-Api-Version: 11`, `Content-Type: application/json`, body `{}`
5. Read the response: it returns the hidden comment's content and owner
**How found:** Noticed that disabling comments hides them from everyone but the admin, then intercepted the like-comment request and hypothesized that supplying an arbitrary comment ID would still be processed and leak the object in the response.
**Exploitation:** Any authenticated user sends a like request to the comment ID; the server accepts the like on a hidden comment and returns the comment body and author in the JSON response, disclosing content that should only be visible to the media owner/admin.
**Insight:** State-changing endpoints (like/favorite/vote) that return the acted-on object are a common IDOR leak vector: test them against objects the caller shouldn't be able to see, not just objects they can't modify.

## Proof of concept (copied exactly from the original report)

**POST request to like hidden comment by ID**

```
POST /api/statuses/PASTE_ID_HERE/hearts HTTP/2
Host: hub.vroid.com
Cookie: ATTACKER_COOKIES
Sec-Ch-Ua: "Opera";v="109", "Not:A-Brand";v="8", "Chromium";v="123"
Accept: application/json, text/plain, */*
Content-Type: application/json
X-Api-Version: 11
Sec-Ch-Ua-Mobile: ?0
Content-Length: 2

{}
```

