Skip to content
Misconfiguration Disclosed report Beginner

CI for [example.gov] can be logged in and accessible

A CI/CD build results page for a production component was publicly indexed and its login page did not enforce authentication, so anyone could access the interface. This exposed deployment credentials that could potentially be used to gain further privileges.

kunal94 Follow

Originally disclosed on HackerOne

Bounty$2,000 Critical 9.0 View original
  • Triaged in 25 hours
  • Fixed in 4 days
  • Paid in 5 days
  • Disclosed after 6 days

Summary by the program

When anyone searched a public search engine for inurl:example.gov (where example.gov was one of the URLs in the TTS Bug Bounty scope), the search results included a CI/CD build results URL. When anyone visited that build results page, they were faced with a login page, but if they clicked "log in", no authentication was required. This exposed the CI/CD interface for a production component, including a set of deployment credentials. It would have been possible to leverage these credentials to get other privileges.

The original report as published on HackerOne, by kunal94. 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. 4 min read.

What the report shows

The target was a CI/CD build results interface belonging to a production component of one of the URLs in the TTS Bug Bounty scope. The program's summary describes how the interface was found: a public search engine query for inurl:example.gov, where example.gov stands for one of the in-scope URLs, returned a CI/CD build results URL among the results.

Text
inurl:example.gov

Visiting that build results page presented a login page. Clicking "log in" did not require any authentication, so the visitor was taken straight into the CI/CD interface. The exposed interface belonged to a production component and included a set of deployment credentials. The program notes that those credentials could have been leveraged to obtain other privileges.

Root cause

The report does not analyse the root cause; the observable behaviour was that the login step granted access without checking credentials. A login page was rendered, but the action behind it, the "log in" step, granted access without checking credentials.

Impact

As the program describes it, an unauthenticated visitor could reach the CI/CD interface for a production component and see a set of deployment credentials. The program states it would have been possible to leverage the credentials to get other privileges. The report does not go further than that: it does not describe which systems the credentials unlocked, what was deployed, or whether anything was actually changed.

How this kind of bug works

Access control bugs of this shape appear when an application separates "showing a login page" from "requiring a login". The front end renders a form, but the route that serves the protected content, or the handler behind the form's submit action, does not verify a session or a token before returning data. Sometimes the check is done in client-side JavaScript, so anyone who requests the underlying endpoint directly, or follows the redirect after the form, receives the content. Sometimes the check is applied to the HTML page but not to the API or asset paths the page loads, so the sensitive data leaks through a secondary request.

CI/CD interfaces are a particularly valuable instance because they concentrate secrets: deployment credentials, environment variables, build logs, repository tokens and the ability to trigger builds. A single missing check on a build results page can therefore expose far more than the page itself.

Defences are straightforward in principle: enforce authorisation on the server for every route that returns protected data, deny by default, and treat the login form as a UI convenience rather than a security boundary. Session state should be validated on each request, and sensitive values such as deployment credentials should not be rendered into pages that any unauthenticated user can reach.

How to test for it

  1. Identify candidate interfaces: CI/CD dashboards, build result pages, admin panels, internal tooling and anything that looks like it should sit behind a login. Search engine queries that restrict results to a target domain, and searches for common product names or path fragments, are a cheap way to surface them.
  2. Load the page normally and note the login form, then interact with it as an ordinary visitor would: click the login control, submit an empty form, or follow whatever redirect it issues. Observe whether protected content appears.
  3. Repeat the request for the underlying resource directly, bypassing the page that renders the form. If the page is HTML but loads data from a separate path, request that path on its own with no session cookie.
  4. Compare responses with and without a valid session. A positive result is protected content, build output, configuration or credentials returned to a request that carries no authenticated session.
  5. Check whether the same content is reachable through alternate routes: different HTTP methods, path variations, cached copies, or the API endpoints the page calls.

Common false positives: a page that renders a login form but returns only the form and no data; a redirect to a real authentication provider that does enforce credentials; demo or sample data that looks sensitive but is not; and content that is genuinely public by design, such as open-source build logs. Confirm that what you received is real protected data before reporting.

How it is fixed

Enforce authentication and authorisation server-side on every route that serves protected content, including API endpoints and asset paths, not just the HTML page. Remove any client-side-only gate. Deny access by default and require an explicit role or permission for build results and deployment configuration. Rotate any credentials that were exposed, and avoid embedding secrets in pages that are reachable without a session. Add regression tests that request protected routes without a session and assert a rejection.

Hunting notes

These bugs tend to hide where teams assume the network or a front proxy is the boundary: internal CI/CD tools, staging dashboards, monitoring interfaces and admin panels that were meant to be reachable only from inside. Recon signals include search engine results pointing at build or pipeline URLs, hostnames that suggest tooling rather than the public site, and pages that render a login form but respond quickly with content. When you find one, show impact concretely: demonstrate that protected data is returned without a session, and describe what that data would allow, without actually using any credentials you encounter.

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

A company runs a website, and part of its work happens in a tool called a CI/CD system. CI/CD stands for continuous integration and continuous delivery: it is the machinery that takes the programmers' code, builds it, tests it and puts it live on the servers. Think of it as the kitchen behind a restaurant: customers see the dining room, but the kitchen holds the recipes, the ingredients and the keys to the storeroom.

The build results page of that kitchen was supposed to be private. It showed a login page, which is the digital equivalent of a door with a keypad. But the keypad was only painted on: pressing the "log in" button let anyone walk straight in, with no password, no account, nothing.

The page appeared in ordinary search engine results. They used a public search engine, the same kind anyone uses to find recipes or news, with a special instruction that limits results to one website. The search engine had indexed the build results page, so it appeared in ordinary search results. The query was:

Text
inurl:example.gov

inurl: is a search engine operator. It tells the engine to return only pages whose web address contains the text that follows. Here the text is example.gov, which stands for one of the web addresses in the scope of the TTS Bug Bounty, the set of targets the programme had authorised researchers to test. So the query means: show me every indexed page whose address mentions this domain. Among the results was the address of a CI/CD build results page.

Visiting that page showed a login form. Clicking "log in" did not ask for any credentials and did not check any. The visitor landed inside the CI/CD interface. That interface belonged to a production component, meaning a system that real users depend on, not a test copy. Inside it sat a set of deployment credentials: the usernames, passwords or keys that the build system uses to put software onto live servers. The programme's summary says those credentials could have been used to gain other privileges, that is, to reach further into the company's systems than the build page itself.

CVSS is a standard scoring system for the severity of a security flaw, running from 0 to 10, where 10 is the worst.

Why it worked

The application displayed a login page, but clicking "log in" did not require authentication. A server is the computer that actually holds and sends the content; if it hands data over without asking who you are, the form in front of it is decoration.

This matters more than a single leaked page because CI/CD tools concentrate secrets in one place: deployment credentials, configuration values, build logs and the ability to start new builds. One missing check therefore exposes far more than the page itself.

In general, how this kind of bug works

Access control bugs of this shape appear when an application separates "showing a login page" from "requiring a login". The front end renders a form, but the route that serves the protected content, or the handler behind the form's submit action, does not verify a session or a token before returning data. A session is the server's memory that you have already logged in, usually carried in a cookie, a small piece of data the browser stores and sends back with each request. A token is a similar proof of identity, often a long string. A request is simply the message your browser sends to a server asking for a page or data.

Sometimes the check is done in client-side JavaScript, code that runs in your own browser, so anyone who requests the underlying address directly, or follows the redirect after the form, receives the content. Sometimes the check covers the HTML page but not the data paths the page loads, so the sensitive information leaks through a secondary request.

Defences are straightforward in principle: enforce authorisation on the server for every route that returns protected data, deny by default, and treat the login form as a convenience for users rather than a security boundary. Session state should be validated on each request, and sensitive values such as deployment credentials should not be placed in pages any unauthenticated user can reach.

How to test for it

  1. Identify candidate interfaces: CI/CD dashboards, build result pages, admin panels, internal tooling and anything that looks like it should sit behind a login. Search engine queries that restrict results to a target domain, and searches for common product names or address fragments, are a cheap way to surface them.
  2. Load the page normally and note the login form, then interact with it as an ordinary visitor would: click the login control, submit an empty form, or follow whatever redirect it issues. Observe whether protected content appears.
  3. Repeat the request for the underlying resource directly, bypassing the page that renders the form. If the page is HTML but loads data from a separate address, request that address on its own with no session cookie.
  4. Compare responses with and without a valid session. A positive result is protected content, build output, configuration or credentials returned to a request that carries no authenticated session.
  5. Check whether the same content is reachable through alternate routes: different HTTP methods, address variations, cached copies, or the API endpoints the page calls. An API is the interface a page uses to fetch data from the server.

Common false positives: a page that renders a login form but returns only the form and no data; a redirect to a real authentication provider that does enforce credentials; demo or sample data that looks sensitive but is not; and content that is genuinely public by design, such as open-source build logs. Confirm that what you received is real protected data before reporting.

How it is fixed

Enforce authentication and authorisation server-side on every route that serves protected content, including API endpoints and asset paths, not just the HTML page. Remove any client-side-only gate. Deny access by default and require an explicit role or permission for build results and deployment configuration. Rotate any credentials that were exposed, meaning replace them so the old ones stop working, and avoid embedding secrets in pages that are reachable without a session. Add regression tests that request protected routes without a session and assert a rejection.

Hunting notes

These bugs tend to hide where teams assume the network or a front proxy is the boundary: internal CI/CD tools, staging dashboards, monitoring interfaces and admin panels that were meant to be reachable only from inside. Recon signals include search engine results pointing at build or pipeline addresses, hostnames that suggest tooling rather than the public site, and pages that render a login form but respond quickly with content. When you find one, show impact concretely: demonstrate that protected data is returned without a session, and describe what that data would allow, without actually using any credentials you encounter.

Glossary

  • CI/CD: continuous integration and continuous delivery, the automated process that builds, tests and deploys software.
  • Build results page: the page showing the outcome of an automated build of the software.
  • Production component: a live system that real users depend on, as opposed to a test copy.
  • Deployment credentials: the usernames, passwords or keys used to put software onto live servers.
  • Access control: the rules deciding who is allowed to see or do what.
  • Improper access control: a flaw where those rules are missing or not enforced.
  • Authentication: proving who you are, usually with a password or key.
  • Authorisation: deciding what an identified user is allowed to do.
  • Unauthenticated: not logged in, with no proven identity.
  • Session: the server's record that you have logged in, usually carried in a cookie.
  • Cookie: a small piece of data the browser stores and sends back to a site with each request.
  • Token: a string used as proof of identity or permission.
  • Request: the message a browser sends to a server asking for a page or data.
  • Response: the message a server sends back.
  • Server: the computer that stores and serves the content.
  • Client-side JavaScript: code that runs in the visitor's own browser.
  • Presentation layer: the part of an application the visitor sees.
  • API: the interface a page uses to fetch data from the server.
  • Endpoint: a specific address on a server that returns data or performs an action.
  • HTTP method: the verb in a request, such as GET to fetch or POST to submit.
  • Redirect: an instruction from the server sending the browser to another address.
  • Search engine operator: special syntax such as inurl: that narrows search results.
  • inurl:: a search operator returning only pages whose address contains the given text.
  • Bug bounty programme: a scheme that pays researchers for reporting security flaws responsibly.
  • Scope: the set of targets a programme authorises researchers to test.
  • CVSS: a standard 0 to 10 score for the severity of a security flaw.
  • False positive: a finding that looks like a flaw but is not.
  • Regression test: an automated check that a fixed flaw stays fixed.
  • Rotate credentials: replace exposed credentials so the old ones no longer work.

More by kunal94

View all

10 more disclosed reports, best first.

More from GSA Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.