User with Read-Only permissions can request/approve public disclosure
A user in a group with only read-only permissions could still request and approve public disclosure of a closed report, even though those actions should require the Report scope. This let a limited team member post a public comment through the disclosure request, contradicting the intended permission model.
- Triaged in 3 days
- Fixed in 4 days
- Paid in 11 days
- Disclosed after 41 days
Summary by the program
Team members that only had read-only permissions were able to both request and approve public disclosure. This would also allow read-only team members to post a public comment.
This bug depends on a trusted team member with read-only permissions. Because of that, the consequences are not severe.
The report
Hi,
I found out that a user who belongs to a group with Read-Only permission can still request and approuve public disclosure when the report is closed by privileged admin although that these permissions are only allowed if the user group has Report scope.
Consequently, the team member with limited scope can also post public comment through public dislosure request and that contradicts what was expected.
Proof Of Concept :
- Create a new user group with Read-Only permission
- Add a user to the group.
- Log in with that user account and browse a Closed report, you should now be able to request public disclosure.
Kind regards. Yassine ABOUKIR
Context
HackerOne is a bug bounty platform where security researchers report vulnerabilities to organisations. Each organisation runs a program, and its staff are organised into groups with defined permissions. One of the features available to a program is public disclosure: when a report is closed, the program can choose to make it visible to the public, and the report can also carry a public comment.
Normally, requesting and approving public disclosure is a privileged action. The report states that these permissions are only allowed if the user group has the Report scope. A group with Read-Only permission is meant to be able to look at reports, not to change their visibility or add public content.
The researcher found that a read-only team member could request public disclosure, and states that the same member could also approve it.
Setup
The precondition is a program that has at least one user group configured with Read-Only permission, and a user who belongs to that group. The researcher also refers to a report that has already been closed by a privileged admin, since the disclosure request is made against a closed report.
No specific tools, versions or endpoints are given in the report. The proof of concept is carried out entirely through the platform's normal web interface.
Finding it
The researcher noticed that a user in a group with Read-Only permission could still request and approve public disclosure on a closed report, even though those actions are supposed to require the Report scope. The same gap meant the limited team member could post a public comment by way of the public disclosure request, which contradicts what the permission model is expected to enforce.
The behaviour looked wrong because the permission check that should gate disclosure actions was evidently not tied to the group's scope. A read-only member is supposed to be a viewer, and disclosure changes the audience of a report from the program's staff to the public.
Exploitation
Step 1: Create a read-only group
Create a new user group and give it Read-Only permission. This establishes the restricted role that the rest of the test depends on.
Step 2: Add a user to the group
Add a user account to the group created in step 1. That account now carries only the read-only permissions of the group.
Step 3: Request disclosure on a closed report
Log in with that user account and browse a closed report. According to the researcher, the account is then able to request public disclosure. The report does not include the request itself, only the outcome: the action is available to a user who should not have the Report scope.
The report states that the same limited account can approve the public disclosure request and post a public comment through it.
Root cause
The report attributes the problem to the permission model: requesting and approving public disclosure, and posting a public comment through that flow, are actions that should be restricted to groups with the Report scope, but a group with Read-Only permission can perform them. In other words, the disclosure actions are not gated on the same scope check that the design intends for them. The report does not describe the underlying code, so the exact location of the missing or incorrect check is not stated.
Impact
The direct consequence is that a team member with only read-only permissions can request public disclosure of a closed report, approve that disclosure, and post a public comment. This lets a low-privileged member of a program's staff change what is visible to the public and publish content on the program's behalf, which the permission model is meant to prevent.
The program's own summary places a clear limit on severity: the bug depends on a trusted team member with read-only permissions, and because of that the consequences are not severe. The attacker is therefore an insider with a legitimate but restricted account, not an anonymous outsider. The report does not describe any further escalation beyond the disclosure and comment actions.
Fix
Based on the finding, the fix is to enforce the Report scope on the disclosure actions themselves: requesting public disclosure, approving it, and posting a public comment through that flow should all be rejected for a group that only has Read-Only permission. The check needs to sit on the server side for each of those actions, not only on the interface that presents them.
Variants to test
- Other privileged actions on read-only groups. Enumerate every action a read-only member can reach on a closed report and try each one. A positive result is any state change, such as a visibility change or a new public comment, that succeeds where the group's scope should forbid it.
- Approval by a different limited account. Have one read-only user request disclosure and another read-only user approve it. A positive result is that the approval succeeds without any member holding the Report scope.
- Scope combinations beyond read-only. Create groups with other restricted scopes and repeat the disclosure request and approval. A positive result is any scope that can complete the flow without the Report scope.
- Direct requests to the disclosure actions. Rather than relying on the interface, submit the disclosure request and approval directly and observe the response. A positive result is a success response for an account whose group lacks the required scope.
Hunting notes
This kind of bug hides in permission models where a feature is added later and its authorisation is checked against the wrong scope, or against the presence of a session rather than a specific permission. The signal during recon is a product with several named scopes and a set of actions that change visibility or publish content, such as disclosure, comments, or sharing. Whenever you can create your own group and assign it a restricted scope, you have a clean way to test each action against the intended permission.
The researcher demonstrated the disclosure request with an account that only held Read-Only permission, and stated that approval and a public comment were also possible. The program accepted the report and paid a 500 USD bounty, while noting in its summary that the reliance on a trusted team member keeps the severity low.
What happened, in plain words
HackerOne is a website where security researchers report bugs to companies. Each company runs what the platform calls a program, and the people who work on that program are organised into groups. Each group has permissions attached to it, which decide what its members are allowed to do.
One of the features a program has is public disclosure. When a report is closed, the program can choose to make that report visible to the public. The report can also carry a public comment.
Requesting and approving public disclosure is supposed to be a privileged action. According to the report, those permissions are only allowed if the user group has the Report scope. A group with Read-Only permission is meant to be able to look at reports, not to change who can see them or to add public content.
The researcher found that a read-only team member could request public disclosure, and states that the same member could also approve it. The same gap meant that this limited team member could post a public comment through the disclosure request.
A useful comparison: think of a shared office. Some staff have a key to the filing cabinet (read-only), and some can also stamp documents as public (the Report scope). The bug is that the filing-cabinet key also turned out to work on the public stamp.
Context
HackerOne is a bug bounty platform where security researchers report vulnerabilities to organisations. Each organisation runs a program, and its staff are organised into groups with defined permissions. One of the features available to a program is public disclosure: when a report is closed, the program can choose to make it visible to the public, and the report can also carry a public comment.
Normally, requesting and approving public disclosure is a privileged action. The report states that these permissions are only allowed if the user group has the Report scope. A group with Read-Only permission is meant to be able to look at reports, not to change their visibility or add public content.
The researcher found that a read-only team member could do both: request public disclosure and approve it.
A few terms from that paragraph, from zero:
- A program here is a company's presence on the platform: its reports, its staff and its settings.
- A permission is a rule that says whether an account may perform an action. Permissions are usually bundled into a group so that staff can be managed in bulk.
- A scope is the name of a bundle of permissions. The report names two: Read-Only and Report.
- Public disclosure means making a closed report visible to anyone on the internet, rather than only to the program's staff.
Setup
The precondition is a program that has at least one user group configured with Read-Only permission, and a user who belongs to that group. The researcher also refers to a report that has already been closed by a privileged admin, since the disclosure request is made against a closed report.
No specific tools, versions or endpoints are given in the report. The proof of concept is carried out entirely through the platform's normal web interface.
In other words, you do not need to install anything or write any code to repeat this. You need an account that belongs to a restricted group, and a closed report to look at. The report does not name any URL, button or form field, so the steps below describe the actions rather than the exact clicks.
Finding it
The researcher noticed that a user in a group with Read-Only permission could still request and approve public disclosure on a closed report, even though those actions are supposed to require the Report scope. The same gap meant the limited team member could post a public comment by way of the public disclosure request, which contradicts what the permission model is expected to enforce.
The behaviour looked wrong because the permission check that should gate disclosure actions was evidently not tied to the group's scope. A read-only member is supposed to be a viewer, and disclosure changes the audience of a report from the program's staff to the public.
Why does this matter conceptually? A permission model is only as good as the checks behind each action. If the interface hides a button but the server still accepts the action, the restriction is cosmetic. Here the researcher is saying the action itself was available to a group that should not have had it.
Exploitation
Step 1: Create a read-only group
Create a new user group and give it Read-Only permission. This establishes the restricted role that the rest of the test depends on.
Why this step: you need a group whose permissions you control, so that you know exactly what the account is and is not supposed to be able to do. If you tested with an existing group, you could not be sure what else it was allowed to do.
Step 2: Add a user to the group
Add a user account to the group created in step 1. That account now carries only the read-only permissions of the group.
Why this step: permissions are attached to the group, and the account inherits them by membership. This gives you a login that represents a low-privileged staff member.
Step 3: Request disclosure on a closed report
Log in with that user account and browse a closed report. According to the researcher, the account is then able to request public disclosure. The report does not include the request itself, only the outcome: the action is available to a user who should not have the Report scope.
The report states that the same limited account can approve the public disclosure request and post a public comment through it.
Why this step: the disclosure request is made against a closed report, so that is the state you need to be in. If the action succeeds for an account that only holds Read-Only permission, the permission check is missing or wrong.
The report gives the proof of concept as a short numbered list:
1. Create a new user group with Read-Only permission
2. Add a user to the group.
3. Log in with that user account and browse a Closed report, you should now be able to request public disclosure.
Line by line:
- The first line sets up the restricted role. You are creating the group that is supposed to be limited.
- The second line puts an account inside that role, so the account inherits its limits.
- The third line is the actual test: sign in as that account, open a report that has already been closed, and try the disclosure request. The expected result, according to the researcher, is that the request is available even though the group lacks the Report scope.
Root cause
The report attributes the problem to the permission model: requesting and approving public disclosure, and posting a public comment through that flow, are actions that should be restricted to groups with the Report scope, but a group with Read-Only permission can perform them. In other words, the disclosure actions are not gated on the same scope check that the design intends for them. The report does not describe the underlying code, so the exact location of the missing or incorrect check is not stated.
A comparison: a building might put a lock on the front door but forget one on the fire exit. The design says the fire exit is staff-only, but nothing enforces it. Here the design says disclosure needs the Report scope, but the action does not check for it.
Impact
The direct consequence is that a team member with only read-only permissions can request public disclosure of a closed report, approve that disclosure, and post a public comment. This lets a low-privileged member of a program's staff change what is visible to the public and publish content on the program's behalf, which the permission model is meant to prevent.
The program's own summary places a clear limit on severity: the bug depends on a trusted team member with read-only permissions, and because of that the consequences are not severe. The attacker is therefore an insider with a legitimate but restricted account, not an anonymous outsider.
That distinction matters for beginners: a bug that requires a trusted account is still a bug, because the account was supposed to be limited, but it is not the same as a stranger on the internet being able to do it. The program accepted the report and paid a 500 USD bounty, while noting this limit in its summary.
Fix
Based on the finding, the fix is to enforce the Report scope on the disclosure actions themselves: requesting public disclosure, approving it, and posting a public comment through that flow should all be rejected for a group that only has Read-Only permission. The check needs to sit on the server side for each of those actions, not only on the interface that presents them.
Why server side? Because the interface is just what the browser shows. Anyone can send a request directly, so the decision about whether an action is allowed has to be made where the action is actually carried out.
Variants to test
- Other privileged actions on read-only groups. Enumerate every action a read-only member can reach on a closed report and try each one. A positive result is any state change, such as a visibility change or a new public comment, that succeeds where the group's scope should forbid it.
- Approval by a different limited account. Have one read-only user request disclosure and another read-only user approve it. A positive result is that the approval succeeds without any member holding the Report scope.
- Scope combinations beyond read-only. Create groups with other restricted scopes and repeat the disclosure request and approval. A positive result is any scope that can complete the flow without the Report scope.
- Direct requests to the disclosure actions. Rather than relying on the interface, submit the disclosure request and approval directly and observe the response. A positive result is a success response for an account whose group lacks the required scope.
Why these variants: the first bug tells you the pattern, which is that a check is missing on an action. The variants ask whether the same mistake exists on neighbouring actions, on other accounts, and on other scopes. The fourth one removes the interface from the picture entirely, which is the cleanest way to see whether the server itself is enforcing the rule.
Hunting notes
This kind of bug hides in permission models where a feature is added later and its authorisation is checked against the wrong scope, or against the presence of a session rather than a specific permission. The signal during recon is a product with several named scopes and a set of actions that change visibility or publish content, such as disclosure, comments, or sharing. Whenever you can create your own group and assign it a restricted scope, you have a clean way to test each action against the intended permission.
The researcher demonstrated the disclosure request with an account that only held Read-Only permission, and stated that approval and a public comment were also possible. The program accepted the report and paid a 500 USD bounty, while noting in its summary that the reliance on a trusted team member keeps the severity low.
Glossary
- API: a way for one piece of software to talk to another, usually by sending requests to specific addresses and getting structured answers back.
- Authorisation: the decision about whether a signed-in account is allowed to perform a particular action.
- Bounty: a payment made by a program to a researcher for a valid report.
- Bug bounty platform: a website that hosts programs, receives reports and handles their review and payment.
- Closed report: a report that has been marked as finished, so it is no longer being actively worked on.
- Comment: a written message attached to a report.
- Cookie: a small piece of data a website stores in your browser so it can recognise you on later requests.
- Endpoint: a specific address on a server that accepts a particular kind of request.
- Escalation: using one weakness to gain more access or impact than the original weakness alone provided.
- Group: a collection of accounts that share the same set of permissions.
- Impact: the practical harm a bug can cause if someone abuses it.
- Insider: someone who already has a legitimate account or access, as opposed to an outside stranger.
- Permission: a rule stating whether an account may perform a given action.
- Permission model: the overall design of which accounts may do what.
- Precondition: something that must already be true before a test or attack can work.
- Privileged action: an action that only accounts with extra rights are supposed to be able to perform.
- Program: a company's presence on a bug bounty platform, including its reports, staff and settings.
- Proof of concept (PoC): a short set of steps that demonstrates a bug actually works.
- Public comment: a comment that is visible to the public rather than only to the program's staff.
- Public disclosure: making a closed report visible to anyone, rather than only to the program's staff.
- Read-Only permission: a permission level that lets an account view things but not change them.
- Recon: the exploratory phase of looking at a product to understand its features and find things worth testing.
- Report scope: the permission bundle that, according to the report, is required to request and approve public disclosure.
- Researcher: the security tester who finds and reports the bug.
- Root cause: the underlying reason a bug exists, as opposed to its visible symptom.
- Scope: the name of a bundle of permissions, or the set of things a test is allowed to cover.
- Server side: the part of a system that actually carries out actions, as opposed to the interface shown in the browser.
- Session: the period during which a website remembers that you are signed in.
- Severity: a rating of how serious a bug is.
- State change: any modification to stored data, such as changing visibility or adding a comment.
- Token: a value used to prove identity or permission, often sent with requests.
- User group: see Group.
- Vulnerability: a weakness in software that allows behaviour the designers did not intend.
- Web interface: the pages and buttons you see and use in a browser.