Skip to content
Access control Disclosed report Beginner

User with Read-Only permissions can manually public disclosure the report

A user with only read-only permissions could manually publicly disclose a report, which should be restricted to users with higher privileges. This allowed a low-privileged team member to make a bug report public without proper authorisation.

techguynoob Follow

Originally disclosed on HackerOne

Bounty$500 View original
  • Triaged in 7 hours
  • Fixed in 6 days
  • Paid in 14 days
  • Disclosed after 56 days

Hello,

I would like to report an incomplete fix of #109483 this report .manually disclose functionality is not consider for fix that cause read-only team members to post a public comment.

In hackerone public disclose have a three types

1.Team/User Request a public disclose a bug 2.Team/user Agree a public disclose a bug 3.Team member Manually public disclose a bug

Poc :

1.Login into Program(testbug) as owner account 2.Create a new group with "Report" Permission . Add a user to that group 3.Create a new group with "Read-only" Permission . Add a user to that group 3.Login into user account Report a bug to Program (testbug) 4."Report" Permission User closed a bug to Resolved and ask for "Public disclose" 5."Read-only" Permission user able to "Manually public disclose" a bug .

Regards, Techguynoob

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is HackerOne's own platform, specifically the report disclosure workflow and the permission model that governs it. The researcher frames the finding as an incomplete fix of an earlier report, #109483: the manual disclosure path, in their view, was not covered when that earlier issue was patched, and as a result a team member holding only read-only permissions can publish a report publicly.

The report describes three ways a report can become public on the platform:

  1. The team or user requests public disclosure of a bug.
  2. The team or user agrees to public disclosure of a bug.
  3. A team member manually discloses a bug publicly.

The claim is that the third path was not covered by the earlier fix.

The proof of concept is given as a numbered sequence:

  1. Log in to the program (testbug) as the owner account.
  2. Create a new group with "Report" permission and add a user to that group.
  3. Create a new group with "Read-only" permission and add a user to that group.
  4. Log in to the user account with Report permission and file a bug against the program (testbug).
  5. The Report-permission user closes the bug as Resolved and asks for public disclosure.
  6. The Read-only-permission user is able to manually publicly disclose the bug.

The report contains no HTTP requests, no parameters, no response bodies and no screenshots. The only artefact is the numbered sequence above, reproduced here exactly as written:

Text
1.Login into Program(testbug) as owner account
2.Create a new group with "Report" Permission . Add a user to that group
3.Create a new group with "Read-only" Permission . Add a user to that group
3.Login into user account Report a bug  to Program (testbug)
4."Report" Permission User closed a bug to Resolved and ask for "Public disclose"
5."Read-only" Permission user able to "Manually public disclose" a bug .

The outcome recorded for the report is a bounty of 500.00 USD, a weakness classification of Violation of Secure Design Principles, and public disclosure on 2016-04-21. No severity or CVSS score is attached.

Root cause

The report points to a missing authorisation check on one specific action. The disclosure workflow has several entry points, and the earlier fix appears to have been applied to the request and agreement paths but not to the manual disclosure path.

This is a classic incomplete-fix pattern: the same business operation is reachable through more than one route, and the patch covered the route that was reported rather than the operation itself.

Impact

Within the report's own scope, the impact is that a user who has been deliberately granted read-only access can publish a report publicly. That means a read-only team member can publish a report publicly. The report does not describe any further consequence, such as access to other reports or escalation to other actions.

How this kind of bug works

This is a broken authorisation issue at the level of a single action. What it fails to do is confirm that the user's role within that team permits the specific operation being requested.

Role models usually have two layers: a coarse check (are you a member of this team?) and a fine check (does your role allow this action?). Bugs appear when a new action is added and only the coarse check is wired in, or when an action is reachable from more than one place and only one of those places performs the fine check. Read-only roles are a common source of these findings because they are designed to see everything and change nothing, which makes any state-changing action they can reach a clear violation of the intended model.

Defences are straightforward in principle: enforce authorisation on the server for every state-changing action, centralise the permission decision so all routes to the same operation share it, and deny by default so that a new action is inaccessible until a permission is explicitly attached to it.

How to test for it

  1. Map the roles. Create or obtain accounts for each role the product offers, including the most restricted one, and note what each role is supposed to be able to do.
  2. Map the actions. Walk the workflow as a privileged user and record every state-changing request: creating, closing, editing, disclosing, deleting, inviting, changing visibility.
  3. Replay as the restricted user. Send each recorded request with the read-only user's session, keeping the same identifiers and bodies. Do this at the HTTP level rather than through the interface, since the interface may hide the control while the endpoint still accepts the request.
  4. Look for alternate routes. If a fix is known to exist for one path, test the sibling paths: request versus approve versus manual override, single-item versus bulk actions, the web endpoint versus any API or mobile endpoint that performs the same change.
  5. Confirm the effect. A positive result is a state change that persists and is visible to other users, not merely a 200 response. Reload the object as a third account and check that the change actually happened.

Common false positives: the endpoint returns success but nothing changes; the action is permitted by design for that role; the restricted user is also a member of a more privileged group, so the effective permission is higher than assumed; or the change is only visible to the acting user because of client-side state.

How it is fixed

Prefer a single authorisation function that takes the action name and the caller's role, and call it from all handlers. Deny by default for new actions. Add regression tests that exercise each role against each state-changing action, so that a future route added to the same operation cannot silently skip the check.

Hunting notes

These bugs cluster around workflows with several approval steps, because each step tends to be implemented separately. Disclosure, publication, archiving, deletion and visibility changes are good candidates, as are bulk endpoints that apply an action to many objects at once. Recon signals include role and permission names appearing in API responses, separate endpoints for request, approve and override, and features whose interface hides a button for restricted users while the underlying request remains reachable.

If an earlier report covered a sibling path, say so and show that the same operation is still reachable another way.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

HackerOne is a website where security researchers report bugs to companies, and companies pay for those reports. Each report belongs to a program (a company's page on the platform), and the program's team decides who can see and do what. This report is about a gap in that control: a team member who was only meant to look, not touch, could still make a bug report public for the whole world to read.

Think of a shared document in an office. Some people are editors and can change it; others are viewers and can only read. If a viewer finds a hidden button that publishes the document to the company website, the label on their account means nothing. That is the shape of the bug here.

The researcher says this is an incomplete fix of an earlier report, #109483. In their view, when that earlier issue was patched, one route to making a report public was left open.

On HackerOne, a report can become public in three ways, according to the report:

  1. The team or the user requests public disclosure of a bug.
  2. The team or the user agrees to public disclosure of a bug.
  3. A team member manually discloses a bug publicly.

The claim is that the third route was not covered by the earlier fix.

The proof of concept is a numbered sequence. It is reproduced exactly as written:

Text
1.Login into Program(testbug) as owner account
2.Create a new group with "Report" Permission . Add a user to that group
3.Create a new group with "Read-only" Permission . Add a user to that group
3.Login into user account Report a bug  to Program (testbug)
4."Report" Permission User closed a bug to Resolved and ask for "Public disclose"
5."Read-only" Permission user able to "Manually public disclose" a bug .

Line by line, and why each step matters:

  1. The owner logs in to a test program called testbug.
  2. A group with "Report" permission is created and a user is added. This user represents a normal team member who is allowed to handle reports.
  3. A second group with "Read-only" permission is created and a user is added. This is the restricted role. (The numbering repeats 3 in the original; it is two separate steps.)
  4. The Report-permission user files a bug against the program. This gives the team something to work with.
  5. The Report-permission user closes the bug as Resolved and asks for public disclosure.
  6. The Read-only user is able to manually publicly disclose the bug. This is the finding: the restricted user performs the state change that the role was designed to prevent.

The report contains no HTTP requests, no parameters, no response bodies and no screenshots. The numbered sequence is the only artefact.

The outcome recorded for the report is a bounty of 500.00 USD, a weakness classification of Violation of Secure Design Principles, and public disclosure on 2016-04-21. No severity or CVSS score is attached.

In general, this kind of bug

This is a broken authorisation issue at the level of a single action. Authorisation means deciding whether a logged-in user is allowed to do a particular thing. Authentication is the earlier question: who are you? Authorisation is the later one: what may you do? A site can get the first right and still get the second wrong.

A session is how a website remembers you between page loads. When you log in, the server sends your browser a cookie, a small piece of data that the browser sends back with every request. The server uses it to recognise you. A request is simply the message your browser sends to the server when you click something or load a page.

What it fails to confirm is whether that user's role within the team permits the specific operation. Role models usually have two layers: a coarse check (are you a member of this team?) and a fine check (does your role allow this action?). Bugs appear when a new action is added and only the coarse check is wired in, or when an action is reachable from more than one place and only one of those places performs the fine check.

Read-only roles are a common source of these findings because they are designed to see everything and change nothing. Any state-changing action they can reach is a clear violation of the intended model. The incomplete-fix pattern is also common: the same business operation is reachable through more than one route, and the patch covered the route that was reported rather than the operation itself.

That means a read-only team member can publish a report publicly. The report does not describe any further consequence, such as access to other reports or escalation to other actions.

Defences are straightforward in principle: enforce authorisation on the server for every state-changing action, centralise the permission decision so all routes to the same operation share it, and deny by default so that a new action is inaccessible until a permission is explicitly attached to it. Add regression tests that exercise each role against each state-changing action, so that a future route added to the same operation cannot silently skip the check.

If you want to test for this yourself, the approach is:

  1. Map the roles. Create or obtain accounts for each role the product offers, including the most restricted one, and note what each role is supposed to be able to do.
  2. Map the actions. Walk the workflow as a privileged user and record every state-changing request: creating, closing, editing, disclosing, deleting, inviting, changing visibility.
  3. Replay as the restricted user. Send each recorded request with the read-only user's session, keeping the same identifiers and bodies. Do this at the HTTP level rather than through the interface, since the interface may hide the control while the endpoint still accepts the request.
  4. Look for alternate routes. If a fix is known to exist for one path, test the sibling paths: request versus approve versus manual override, single-item versus bulk actions, the web endpoint versus any API or mobile endpoint that performs the same change.
  5. Confirm the effect. A positive result is a state change that persists and is visible to other users, not merely a 200 response. Reload the object as a third account and check that the change actually happened.

Common false positives: the endpoint returns success but nothing changes; the action is permitted by design for that role; the restricted user is also a member of a more privileged group, so the effective permission is higher than assumed; or the change is only visible to the acting user because of client-side state.

These bugs cluster around workflows with several approval steps, because each step tends to be implemented separately. Disclosure, publication, archiving, deletion and visibility changes are good candidates, as are bulk endpoints that apply an action to many objects at once. If an earlier report covered a sibling path, say so and show that the same operation is still reachable another way.

Glossary

  • Program: a company's page on a bug bounty platform, where it receives and manages reports.
  • Bug bounty: a scheme where companies pay researchers for reporting security problems.
  • Report: a submitted description of a security issue, with details and steps to reproduce.
  • Disclosure: making a report visible outside the private team, usually to the public.
  • Manual disclosure: a team member publishing a report directly, without the request-and-agree steps.
  • Permission: a rule saying what a user is allowed to do.
  • Role: a named set of permissions, such as Report or Read-only.
  • Read-only: a role that can view content but not change it.
  • Group: a collection of users that share a set of permissions.
  • Owner account: the account with full control over a program.
  • Proof of concept (PoC): a short, repeatable sequence that demonstrates a bug.
  • Authentication: proving who you are, usually by logging in.
  • Authorisation: deciding whether an authenticated user may perform a specific action.
  • Session: the server's memory of your logged-in state across requests.
  • Cookie: a small piece of data the browser stores and sends back to identify your session.
  • Request: the message a browser sends to a server when you load a page or click something.
  • Endpoint: a specific address on a server that performs a particular action.
  • Parameter: a named value sent with a request, such as an identifier or a flag.
  • Response body: the content the server sends back.
  • State change: any action that alters stored data, such as closing or publishing something.
  • Incomplete fix: a patch that closes one route to a problem but leaves another open.
  • Broken function-level authorisation: a flaw where the server does not check whether the user's role permits the requested action.
  • Deny by default: a design where new actions are blocked until a permission is explicitly granted.
  • Regression test: an automated check that a fixed bug stays fixed.
  • False positive: a test result that looks like a bug but is not one.
  • CVSS: a standard scoring system for the severity of a vulnerability.
  • Bulk action: an operation applied to many items at once.

More by techguynoob

View all

5 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.