Skip to content
Access control Disclosed report Intermediate

Team Member(s) associated with a Group have Read-only permission (Post internal comments) can post comment to all the participants

A team member whose role only allowed posting internal comments could post a comment visible to all participants by sending a malformed value for the internal-comment flag. This let a restricted user publish comments to reporters and other participants outside their intended permission.

dz_samir Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 6 days
  • Paid in 6 days
  • Disclosed after 29 days

Hello Hackerone,

I find bug with it team Member(s) associated with a Group have only permission (Post internal comments) can post comment to all the participants

Bypass it just with Add comma ',' is_internal=,

message=test&substate=&is_internal=,&reference=&add_reporter_to_original=false&reply_action=add-comment&reports_count=1&report_ids%5B%5D=107329

response {"flash":"Comment was created successfully.","reports":[{"latest_activity":"2015-12-29T13:35:34.210Z","id":107329,"url":"https://hackerone.com/reports/107329","title":"Demo report: XSS in \u003chttp://a\u003e home page","state":"open","substate":"new","readable_substate":"New","created_at":"2015-12-29T12:48:29.534Z","reporter":{"username":"demo-researcher","url":"https://hackerone.com/demo-researcher"},"team":{"id":1607,"url":"https://hackerone.com/testtest10","handle":"testtest10","name":"\u003chttp://a\u003e","profile_picture_urls":{"small":"https://profile-photos.hackerone-user-content.com/production/000/001/607/fe7b2a22db2cef08c85e527846ecffc358a396de_small.png?1430615268","medium":"https://profile-photos.hackerone-user-content.com/production/000/001/607/b6ddcfa6d5ff3f1b8703197372452b3278c61869_medium.png?1430615268"},"permissions":[]}}]}

PoC video:https://www.dropbox.com/s/sxvzyqlyz5silt7/Hackerone.mov?dl=0

Thanks

Hadji Samir

The original report as published on HackerOne, by dz_samir. 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 parsed the internal-comment flag loosely, so a malformed value was treated as false (public) instead of being rejected or treated as internal.

Impact

A user restricted to internal notes could post comments to all participants.

What the attacker needed

A team account with internal-comment-only role

How it was found

  1. As a team member limited to internal comments, submit a comment request.
  2. Set the internal-comment flag to a malformed value containing a comma.
  3. Observe the server response confirming the comment was created.
  4. The comment is posted to all participants rather than only the team.

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.

On a bug bounty platform, some team members are only meant to leave notes that the outside researcher cannot see. The server decides whether a comment is private by reading a flag sent with the request. By sending a strange value for that flag, the user made the server treat the comment as public, so people who should not see it could read it.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by dz_samir

View all

4 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.