Team Member███ associated with a Custom Group Created with 'Program Managment' only permissions can Comments on Bug Reports
A team member with only 'Program Management' permissions could remove the 'is_internal' value, and the server accepted the request, sending email notifications about a comment not visible on the report page.
h13- Follow with elluciansecurity
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 5 days
- Paid in 9 days
- Disclosed after 9 days
Hi Team,
Legend
AppSecBounty => Bug Program(Sandbox Program) Hacker1001 => Bug Reporter BugAdmin => Program Admin BugMember => Team Member associated Program_Management Group Program_Management Group => Custom Group created with "Program Management Permission"
Steps:
- Hacker1001 reports a Bug to AppSecBounty program.
- BugAdmin & BugTeam are notified of the new bug submission.
- BugMember navigates to report. BugMember has only permission to post 'Internal Comments' in report
- BugMember types some comment and intercepts request with Burp as below
message=TEST COMMENT&substate=&is_internal=true&reference=&add_reporter_to_original=false&reply_action=add-comment&reports_count=1&report_ids%5B%5D=102260
5.BugMember deletes 'true' from parameter "is_internal" and forwards request.
message=TEST COMMENT&substate=&is_internal=&reference=&add_reporter_to_original=false&reply_action=add-comment&reports_count=1&report_ids%5B%5D=102260
- Server processes the request and the following response is returned.
{"flash":"Comment was created successfully.","reports":[{"latest_activity":"2015-12-19T14:43:08.244Z","id":102260,"url":"https://hackerone.com/reports/102260","title":"CSV123","state":"open","substate":"new","readable_substate":"New","created_at":"2015-11-27T07:40:28.998Z","reporter":{"username":"h1-","url":"https://hackerone.com/h1-"},"team":{"id":7584,"url":"https://hackerone.com/multicare","handle":"multicare","name":"multicare","profile_picture_urls":{"small":"/assets/global-elements/add-team-72fa1f23b08270406d1149d06f6968ed.png","medium":"/assets/global-elements/add-team-72fa1f23b08270406d1149d06f6968ed.png"},"permissions":["program_management"]}}]}
Observations:
-
BugAdmin receives email notification saying that BugMember posted a comment ie "TEST COMMENT" on BugReport.
-
After BugAdmin signs into Hackerone, there will be 2 notifications indicating that "BugMember commented on BugReport_Name along with bug_ID"
-
If BugAdmin click on notification, then he will be redirected to BugReport but in BugReport, he will not be able to see any comments(ie "TEST COMMENT" which he saw in his email) which was posted by BugMember.
Conclusion:
- The current flaw in UserRole(Program Management) which is associated with custom groups can be misleading to other members in the team if the above scenario was executed.
- TeamAdmins, TeamMembers who has permission to review/modify reports will be falsely intimated about comments which are posted by other members who don't have permission to post comments
- A point to be noted that even though Comments are not actually posted on the BugReport, the email notifications are sent with the exact comments to the TeamAdmin & TeamMembers associated with that report. Seeing the comments via email and not seeing the same comment on the BugReport Page can be soo misleading and confusing.
- The other fact is that team members with "Program Management" role can only post internal comments on reports and not general comments. This is not true as the comment is actually posted on the server and the server responded with the exact time stamp of comment as below
Attachments




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
Impact
Team admins and members received misleading email notifications about comments not visible on the report page, which could cause confusion.
What the attacker needed
A team member account with 'Program Management' permission; ability to intercept HTTP requests
How it was found
- A bug reporter submits a report to the program.
- The program admin and team members are notified of the new submission.
- A team member with only 'Program Management' permissions navigates to the report and types a comment.
- The team member intercepts the comment submission request using a proxy tool.
- The team member removes the value 'true' from the 'is_internal' parameter and forwards the request.
- The server processes the request and returns a success response, but the comment is not actually posted on the report.
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.
A user with limited permissions was supposed to only post internal comments, but by tampering with the request the server accepted it. Email notifications were sent about a comment that did not appear on the report page, causing confusion.
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.