Global default settings page is accessible to non-administrators
A global default settings page intended for administrators was reachable by any logged-in user who navigated directly to its URL, bypassing the normal redirect. An attacker could change installation-wide defaults such as the accessibility theme, language and notification settings, disrupting other users.
- Fixed in 22 hours
- Paid in 22 hours
- Disclosed after 22 hours
If you go to /settings/, it correctly redirects to /settings/user/username/ and does not give you the option to change global default settings. However if you go straight to /settings/builtin/global/, any user can edit the global default settings. According to https://secure.phabricator.com/D16048, it's supposed to be an administrator panel.
mongoose
Impact
At worst, you can disrupt a Phabricator installation and change the accessibility theme, language, disable everyone's notifications. But there aren't any very sensitive settings that you can modify.
What the report shows
The target is Phabricator, and the feature under examination is the settings area. The researcher noticed that the normal entry point behaves correctly: visiting /settings/ redirects to /settings/user/username/, and from there a user is not offered any way to change global default settings.
The problem appears when the user skips the normal navigation and requests the built-in global settings page directly:
Any user can reach that page and edit the global default settings. The researcher points to the upstream change at https://secure.phabricator.com/D16048, which describes the page as an administrator panel, so the intended restriction is administrative access, not merely a hidden link.
Root cause
The likely cause is that the restriction lived only in the user interface: the settings landing page does not offer the global defaults, but the page itself is reachable directly. Hiding an entry point is not access control. When the only barrier is the absence of a link, anyone who guesses or discovers the path can reach the page.
Impact
The researcher is explicit about the limits. At worst, an attacker can disrupt a Phabricator installation: change the accessibility theme, change the language, or disable everyone's notifications. The report states that there are no very sensitive settings that can be modified through this page. The effect is therefore integrity and availability of the installation's shared configuration rather than disclosure of secrets.
How this kind of bug works
This is a broken function level authorisation issue, sometimes called forced browsing. Web applications commonly protect administrative functionality in two places: the navigation layer, which decides which links and menu items a user sees, and the server side, which decides whether a given request is allowed. The first is cosmetic. The second is the security boundary.
Bugs of this class arise when developers rely on the first. A route is registered, a controller renders a form, and the form posts to an update endpoint, but no middleware or policy check confirms the caller's role. Because the route exists regardless of who is logged in, a request that never passes through the navigation layer reaches it directly. The same pattern appears with API endpoints that back an admin UI, with export and import handlers, and with older or deprecated routes that were never removed.
Defences are straightforward in principle: enforce authorisation on every request at the server, ideally centrally (middleware, route policies, or per-controller checks) so that new routes inherit it; deny by default; and test the authorisation layer independently of the UI. Removing or hiding links is not a defence and should never be treated as one.
How to test for it
- Map the application as an administrator or from documentation, source, or changelogs, and collect the paths of administrative and configuration pages, including API routes that back them.
- Log in as a low-privileged user, or use an unauthenticated session where relevant, and request those paths directly rather than navigating to them. Try the exact path, the path with and without a trailing slash, and common variations in case and extension.
- For pages that render, check whether the response contains the administrative form or data rather than a redirect, a login prompt, or a 403. A 200 alone is not proof: many frameworks return a generic page with a 200 status.
- If a form is returned, submit it with the low-privileged session and confirm that the change actually persists, for example by reloading as an administrator or observing the effect on another account.
- Repeat for state-changing requests: creation, deletion, export, and settings updates.
A positive result is a response that both exposes administrative content and, where applicable, accepts a state-changing request from a principal that should not be allowed to make it. Common false positives are pages that render but whose submit action is rejected server side, client-side-only hiding that still results in a server rejection, cached or personalised pages that look administrative but contain no privileged data, and endpoints that return 403 only after a redirect chain that a different request method avoids. Always verify the effect, not just the status code.
How it is fixed
Enforce the role check on the server for every administrative route, including the handlers that process form submissions, not only the pages that display them. Apply it centrally so new routes cannot be added without it, and deny by default. Where a route is obsolete, remove it rather than leaving it reachable. Add regression tests that request administrative paths as a non-administrator and assert a rejection.
Hunting notes
These bugs tend to hide in settings and configuration screens, user and role management, audit and log viewers, import and export handlers, feature-flag panels, and API endpoints that mirror an admin UI. They also survive in legacy routes, versioned API paths, and endpoints added for internal tooling.
Useful recon signals include JavaScript bundles and source maps that reference admin paths, sitemaps and robots files, framework debug output, changelogs and patch notes that mention new panels, and predictable naming such as /settings/, /admin/, /internal/, and /builtin/. Comparing the routes available to two accounts of different privilege levels is often the quickest way to spot a gap.
To make a report land, show the request from the low-privileged session, show the response proving privileged content or a persisted change, and state the concrete consequence in the application's own terms. Where the impact is limited, say so plainly, as this report does; a precise, honest impact statement is more convincing than an inflated one.
What happened, in plain words
Phabricator is a web application that teams use to manage software projects: tracking tasks, reviewing code, and so on. Like most such tools, it has a settings area where each person can adjust things for their own account, and a separate set of settings that apply to the whole installation, such as the default language or the default visual theme.
A request is simply what your browser sends to a web server when you click a link or type an address: "please give me this page" or "please save this change". A URL is the address of a page, the part after the site name, such as /settings/.
The researcher found that the normal route into settings behaves correctly. When you visit /settings/, the server sends you on to /settings/user/username/, your personal settings page, and nothing there lets you change the installation-wide defaults. So far, so good.
The problem appears when you skip the normal navigation and ask for the global settings page directly. The report shows this request:
Line by line: GET is the method, meaning "give me this page" (as opposed to sending data). /settings/builtin/global/ is the path of the page that holds the global default settings. HTTP/1.1 is the version of the protocol the browser is speaking. The report does not include the rest of the request, such as headers or cookies.
Any user who requests that path can open the page and edit the global default settings. The researcher links to an upstream change, https://secure.phabricator.com/D16048, which describes this page as an administrator panel. That matters: the page was meant to be restricted to administrators, so the intended barrier is a permission check, not just the fact that no link points to it.
Why it happened
The likely cause is that the restriction lived only in the user interface. The settings landing page does not offer the global defaults, but the page itself is reachable directly.
Hiding a door is not locking it. If the only barrier is that nobody hands you the address, anyone who guesses or discovers the path can walk straight through. This is the core lesson of the report: a link that is absent from a menu is a convenience, not a security control.
Impact
The researcher is clear about the limits. At worst, someone can disrupt a Phabricator installation by changing the accessibility theme, changing the language, or disabling everyone's notifications. The report states that there are no very sensitive settings that can be modified through this page. The harm is to the shared configuration of the installation, not the disclosure of secrets.
In general, how this kind of bug works
This is a broken function level authorisation issue, sometimes called forced browsing. Authorisation means deciding whether a given person is allowed to do a given thing. Web applications usually guard administrative features in two places: the navigation layer, which decides which links and menu items you see, and the server side, which decides whether a particular request is allowed. The first is cosmetic. The second is the security boundary.
Bugs of this class appear when developers rely on the first. A page is registered, a form is drawn, and the form sends its changes to an update address, but nothing checks the caller's role. Because the address exists regardless of who is logged in, a request that never passes through the menu reaches it directly. The same pattern shows up with API endpoints behind an admin screen, with import and export handlers, and with old routes that were never removed.
The defences are simple in principle: check permissions on the server for every request, ideally in one central place so new pages inherit the check; deny by default; and test the permission layer separately from the interface. Removing or hiding links is not a defence.
In general, how to test for it
- Collect the addresses of administrative and configuration pages, from documentation, source code, changelogs, or by browsing as an administrator.
- Log in as a low-privileged user and request those addresses directly instead of navigating to them. Try the exact path, with and without a trailing slash, and common variations in case and extension.
- For pages that load, check whether the response contains the administrative form or data rather than a redirect, a login prompt, or a 403 (the status code for "forbidden"). A 200 ("OK") alone is not proof: many frameworks return a generic page with a 200 status.
- If a form appears, submit it with the low-privileged session and confirm the change actually persists, for example by reloading as an administrator or watching the effect on another account.
- Repeat for requests that change data: creation, deletion, export, and settings updates.
A positive result is a response that both exposes administrative content and, where relevant, accepts a change from someone who should not be allowed to make it. Common false positives are pages that load but whose submit action is rejected on the server, hiding that is purely in the browser and still ends in a server rejection, cached pages that look administrative but hold no privileged data, and endpoints that return 403 only after a redirect that a different request method avoids. Always verify the effect, not just the status code.
In general, how it is fixed
Enforce the role check on the server for every administrative route, including the handlers that process form submissions, not only the pages that display them. Apply it centrally so new routes cannot be added without it, and deny by default. Where a route is obsolete, remove it rather than leaving it reachable. Add regression tests that request administrative paths as a non-administrator and assert a rejection.
In general, where to look
These bugs tend to hide in settings and configuration screens, user and role management, audit and log viewers, import and export handlers, feature-flag panels, and API endpoints that mirror an admin screen. They also survive in legacy routes, versioned API paths, and endpoints added for internal tooling.
Useful signals include JavaScript bundles and source maps that mention admin paths, sitemaps and robots files, framework debug output, changelogs and patch notes that mention new panels, and predictable naming such as /settings/, /admin/, /internal/, and /builtin/. Comparing the routes available to two accounts of different privilege levels is often the quickest way to spot a gap.
To make a report land, show the request from the low-privileged session, show the response proving privileged content or a persisted change, and state the concrete consequence in the application's own terms. Where the impact is limited, say so plainly, as this report does; a precise, honest impact statement is more convincing than an inflated one.
Glossary
- Phabricator: a web application for managing software projects, including tasks and code review.
- Request: a message your browser sends to a web server asking for a page or asking it to save something.
- URL: the address of a page on a website, the part after the site name.
- GET: the request method meaning "give me this page", as opposed to sending data.
- HTTP/1.1: the version of the protocol browsers and servers use to talk to each other.
- Header: extra information attached to a request or response, such as the type of browser or a cookie.
- Cookie: a small piece of data a site stores in your browser, often used to remember that you are logged in.
- Administrator: a user account with permission to change installation-wide settings and manage other users.
- Authorisation: the process of deciding whether a given person is allowed to do a given thing.
- Access control: the mechanisms that enforce who may reach which pages and actions.
- Improper access control: a flaw where those mechanisms are missing or wrong, so someone reaches something they should not.
- Broken function level authorisation: a flaw where a specific page or action lacks its own permission check.
- Forced browsing: reaching a page directly by its address, skipping the menus and links meant to guide users.
- Navigation layer: the menus and links that decide what a user sees; cosmetic, not a security boundary.
- Server side: the code running on the web server, which is where real permission checks belong.
- Endpoint: a specific address on a server that accepts requests and does something with them.
- API: a way for software to talk to a server directly, often behind a web interface.
- Middleware: code that runs on every request before it reaches the page, a common place for central checks.
- Deny by default: a design where access is refused unless explicitly granted.
- 403: the HTTP status code meaning "forbidden", the server refusing a request.
- 200: the HTTP status code meaning "OK", the request succeeded.
- Redirect: a response telling the browser to go to a different address instead.
- False positive: a result that looks like a bug but is not, because the action is actually rejected.
- State-changing request: a request that alters data, such as saving settings or deleting something.
- Regression test: an automated test that checks a fixed bug stays fixed.
- CVSS: a standard scoring system for rating the severity of a vulnerability.
- Bounty: a payment made to a researcher for reporting a valid security bug.