Skip to content
Info disclosure Disclosed report Beginner

Development Application Credentials + Information Exposed

A configuration endpoint on the Prow CI site was publicly reachable and returned internal configuration data, including team identifiers and internal service endpoints. An attacker could read this information to learn about the internal setup and plan further attacks.

lmhu Follow

Originally disclosed on HackerOne

  • Disclosed after 39 days

Issue Description When I browsed through all the JS files on prow.k8s.io I came across a link called /config which contains a configuration disclosure for the development files

URL Vulnerabilities https://prow.k8s.io/config

Proof On Concept

JavaScript
- continuous-integration/travis-ci
kubespray:
required_status_checks:
contexts:
- Kubespray CI Pipeline
required_status_checks:
contexts:
- cla/linuxfoundation

- kubernetes-security
  rerun_auth_configs:
    '*':
      github_team_ids:
      - 2009231
      - 2460384
  spyglass:
    gcs_browser_prefix: https://gcsweb.k8s.io/gcs/
    gcs_browser_prefixes:
      '*': https://gcsweb.k8s.io/gcs/
    lenses:
    - lens:
        name: metadata
      optional_files:
      - ^(?:podinfo|prowjob)\.json$
      remote_config:
        endpoint: http://127.0.0.1:1234/dynamic/metadata
        hide_title: true
        priority: 0
        static_root: ""
        title: Metadata
      required_files:
      - ^(?:started|finished)\.json$
    - lens:
        config:
          highlight_regexes:
          - timed out
          - 'ERROR:'
          - (FAIL|Failure \[)\b
          - panic\b
          - ^E\d{4} \d\d:\d\d:\d\d\.\d\d\d]
          - '^INFO: Analyzed \d+ targets'
        name: buildlog
      remote_config:
        endpoint: http://127.0.0.1:1234/dynamic/buildlog
        hide_title: false
        priority: 10
        static_root: ""
        title: Build Log
      required_files:
      - ^.*build-log\.txt$

Impact

Information Exposed + File Configuration Disclosure

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

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

Root cause

Likely the configuration endpoint was served without any authentication or access restriction, exposing internal settings to anyone who requested it.

Impact

Internal configuration details, including team identifiers and internal service endpoints, could be read by anyone, which may aid further attacks.

What the attacker needed

No account needed; endpoint reachable from the internet

How it was found

  1. Browse the JavaScript files served by the site.
  2. Find the link to the configuration endpoint.
  3. Request that endpoint and read the returned configuration data.

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 web server sometimes keeps a settings file that describes how the site and its background jobs are set up. If that file can be opened by anyone on the internet, outsiders can read details that were meant to stay internal, such as team identifiers and addresses of internal services. This is called information disclosure: nothing is broken into directly, but the leaked details help someone plan a follow-up attack.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by lmhu

View all

8 more disclosed reports, best first.

More from Kubernetes

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.