The `stripe/veneur` GitHub repository links to a domain `veneur.org`, which is not under stripe's control
The official Stripe repository for veneur linked in its sidebar to an external domain that Stripe no longer controls. An attacker who owns that domain could host fake installation instructions or a fake Stripe login page and use the trusted link to phish users or spread malicious code.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 31 days
Initially reported at https://github.com/stripe/veneur/issues/1058. Since that report, the repository's sidebar has been updated to no longer link to the uncontrolled domain. Many of the 179 forks of this repository still contain the link to the uncontrolled domain.
Summary:
- The github.com/stripe/veneur repository contains security-sensitive code which is designed to run within a company's private network, often as a sidecar on each of their application servers.
- The repository's README and documentation does not contain instructions for installing veneur. Instead, it linked to an external domain,
https://veneur.org, which contained those instructions. - The
https://veneur.orgdomain appears to be no longer under Stripe's control. - If the website is not under Stripe's control, it is an easily exploitable vector for a phishing or supply chain contamination attack. The targets of this attack would be user's of the open source release of veneur (not specifically Stripe), and Stripe customers.
- Example attack:
- step one: control
https://veneur.org, either because you are the current owner or you purchase the domain. - step two: recreate the old site, but edit the installation instructions to reference malicious source code or a docker image built with malicious code.
- step three: a veneur user follows the instructions
- outcome: attacker-controlled code/image running inside a privileged environment.
- step one: control
- Example attack two:
- step one: control
https://veneur.org, either because you are the current owner or you purchase the domain. - step two: replace the contents of the website with a fake Stripe login screen.
- step three: a veneur user, who is likely to also be a Stripe user, enters their username and password into the fake login screen.
- outcome: attacker gains access to privileged credentials. Because the
https://veneur.orgwebsite is linked to by an official, Stripe-controlled repository, there is a much greater likelihood that the attack will succeedd than if it had to operate on a different domain.
- step one: control
Steps To Reproduce:
- Visit https://github.com/stripe/veneur
- Click on the
https://veneur.orglink in the sidebar.
Since I initially reported this issue in the Github repository, at https://github.com/stripe/veneur/issues/1058 , the sidebar has been edited to no longer link to https://veneur.org. Many of the 179 forks of this repository still contain the link to the uncontrolled domain.
Supporting Material/References:
Initial report with images:
The link in the sidebar:
The contents of the website currently:
Impact
An attacker can easily impersonate Stripe, taking advantage of the fact that this website is linked to by an official Stripe-owned web page. They can use this as the beginning of a phishing or a supply-chain contamination attack targeting Stripe's customers.
Context
stripe/veneur is an open source GitHub repository maintained under the Stripe organisation. According to the report, the code it contains is security-sensitive and is designed to run inside a company's private network, often as a sidecar on each of the company's application servers. That detail matters for the impact: anything that gets a veneur operator to run the wrong artefact lands inside a privileged environment.
The repository's README and documentation did not contain installation instructions themselves. Instead, they pointed readers at an external domain, https://veneur.org, which hosted those instructions. The repository sidebar also carried a link to that domain.
Setup
No special accounts, roles or tooling are needed to observe the issue. The researcher's steps only require a browser and access to the public GitHub repository. The precondition is simply that the repository links out to https://veneur.org and that the domain appears to be no longer under Stripe's control.
Finding it
The researcher noticed that the documentation deferred installation guidance to https://veneur.org, and that this domain appeared to be no longer under Stripe's control. Because the link sits on an official, Stripe-owned page, a reader has good reason to trust where it leads.
The report frames this as a misconfiguration: an official repository linking to a domain that appears to be no longer under Stripe's control.
Exploitation
The report describes two example attacks rather than a single demonstrated exploit chain. Both begin from the same precondition.
Step 1: Control the domain
Control https://veneur.org, either because you are the current owner or you purchase the domain.
Step 2 (first attack): Recreate the site with malicious instructions
Recreate the old site, but edit the installation instructions to reference malicious source code or a docker image built with malicious code.
Step 3 (first attack): Wait for a user to follow the instructions
A veneur user follows the instructions. The outcome is attacker-controlled code or an image running inside a privileged environment.
Step 2 (second attack): Replace the site with a fake login
Replace the contents of the website with a fake Stripe login screen.
Step 3 (second attack): Capture credentials
A veneur user, who is likely to also be a Stripe user, enters their username and password into the fake login screen. The outcome is that the attacker gains access to privileged credentials.
The report stresses why this is more plausible than a lookalike domain: because https://veneur.org is linked to by an official, Stripe-controlled repository, there is a much greater likelihood that the attack will succeed than if it had to operate on a different domain.
Steps to reproduce as given
- Visit https://github.com/stripe/veneur
- Click on the
https://veneur.orglink in the sidebar.
The report's supporting material links to two images: one of the link in the sidebar, and one of the contents of the website at the time.
Root cause
The mistake is a documentation and repository-configuration one: an official repository pointed readers at an external domain for installation instructions, and that domain was no longer under Stripe's control. The trust conveyed by the Stripe-owned repository transferred to whatever the domain served.
The link is ordinary content on a trusted page.
Impact
An attacker can impersonate Stripe, taking advantage of the fact that the website is linked to by an official Stripe-owned web page. The report describes this as the beginning of a phishing or supply-chain contamination attack targeting Stripe's customers. The targets named are users of the open source release of veneur, not specifically Stripe, and Stripe customers. The severity recorded for the report is low, with a CVSS score of 2.0.
Fix
Since the initial report at https://github.com/stripe/veneur/issues/1058, the repository's sidebar has been updated to no longer link to the uncontrolled domain. The report notes that many of the 179 forks of the repository still contain the link to the uncontrolled domain, so the exposure persists wherever a fork is used as the entry point.
Variants to test
- Check the sidebar, README and docs of other organisation-owned repositories for links to domains the organisation no longer controls. A positive result is a live link on the official repository to a domain whose registration or content is outside the organisation's control.
- Check forks of security-sensitive repositories for the same stale links. A positive result is a fork that still carries the outbound link after the upstream repository removed it.
- Check whether installation instructions live off-site rather than in the repository. A positive result is a README that sends readers to an external domain for the steps that determine which code or image gets run.
- Check whether the external domain currently serves content consistent with the project, or something unrelated such as a login form. A positive result is a page that could plausibly be used to harvest credentials or to redirect installation to attacker-controlled artefacts.
What happened, in plain words
Stripe runs a public code project on GitHub called stripe/veneur. GitHub is a website where software projects are stored and shared, and anyone can read the code there. Veneur is a tool that companies install on their own servers, often on every application server they run, to help with monitoring. Because it runs inside a company's private network, anyone who can trick an operator into installing the wrong version of it can get code running in a sensitive place.
The project's README (the front page of a code project, where installation steps usually live) did not contain installation instructions itself. Instead it sent readers to a separate website, https://veneur.org, for those instructions. The project's sidebar, the column of links shown next to the code on GitHub, also linked to that domain.
The problem: veneur.org appeared to be no longer under Stripe's control. A domain is just an address on the internet, and whoever owns it decides what it shows. If Stripe no longer owns it, someone else can. That someone could rebuild the old site with instructions that point at malicious code, or replace it with a fake Stripe login page. Readers would trust it because an official Stripe page linked to it.
The researcher first raised this in the project's issue tracker at https://github.com/stripe/veneur/issues/1058. Since then the sidebar has been changed so it no longer links to the domain. But many of the 179 copies (forks) of the repository still contain the link.
Context
stripe/veneur is an open source GitHub repository maintained under the Stripe organisation. "Open source" means the code is public and anyone can read, copy or reuse it. A "repository" (repo) is the project's folder on GitHub, holding its files plus its history of changes.
According to the report, the code is security-sensitive and is designed to run inside a company's private network, often as a sidecar on each of the company's application servers. A sidecar is a small helper program that runs alongside the main application on the same machine. "Private network" means the internal machines a company uses that are not directly reachable from the public internet. That detail matters for the impact: anything that gets a veneur operator to run the wrong artefact lands inside a privileged environment. "Artefact" here means a file that gets installed and run, such as source code or a prebuilt container image. "Privileged environment" means a place with more access and trust than an ordinary user's laptop.
The repository's README and documentation did not contain installation instructions themselves. Instead, they pointed readers at an external domain, https://veneur.org, which hosted those instructions. The repository sidebar also carried a link to that domain.
Setup
No special accounts, roles or tooling are needed to observe the issue. The researcher's steps only require a browser and access to the public GitHub repository. The precondition is simply that the repository links out to https://veneur.org and that the domain is no longer controlled by Stripe.
In other words, you do not need to be a programmer or have any security tools. You need a web browser and the ability to open a public web page. The only thing that has to be true for the problem to exist is that the official repository contains the link and that the domain appears to be no longer under Stripe's control.
Finding it
The researcher noticed that the documentation deferred installation guidance to https://veneur.org, and that this domain appeared to be no longer under Stripe's control. Because the link sits on an official, Stripe-owned page, a reader has good reason to trust where it leads.
Think of it like a shop's official noticeboard pointing customers to a supplier's address. If the shop no longer owns that address, whoever moves in inherits the shop's customers' trust.
The report frames this as a misconfiguration: an official repository linking to a domain that appears to be no longer under Stripe's control. "Misconfiguration" is a broad category for settings or arrangements that are not set up safely, as opposed to a flaw in the code itself. Here nothing in the code is broken; the problem is where the documentation sends people.
Exploitation
The report describes two example attacks rather than a single demonstrated exploit chain. Both begin from the same precondition.
An "exploit chain" is a sequence of steps that, taken together, achieve an attacker's goal. Here the report does not show one being carried out; it describes what an attacker could do.
Step 1: Control the domain
Control https://veneur.org, either because you are the current owner or you purchase the domain.
Why this step: a domain name is registered with a registrar, a company that sells and manages domain names. Whoever holds the registration decides which server the name points to and what that server shows. If the registration has lapsed or been transferred, someone else can take it over, either by buying it or because they already hold it. Once you control the domain, every visitor who follows the link from the Stripe repository arrives at your server.
Step 2 (first attack): Recreate the site with malicious instructions
Recreate the old site, but edit the installation instructions to reference malicious source code or a docker image built with malicious code.
Why this step: the old site looked familiar to readers. Rebuilding it keeps that familiar appearance, so nothing seems wrong. "Source code" is the human-readable text of a program. A "docker image" is a packaged bundle containing a program and everything it needs to run, which a server can download and start. If the instructions tell the reader to download and run an attacker's code or image, the attacker's program ends up on the reader's machine.
Step 3 (first attack): Wait for a user to follow the instructions
A veneur user follows the instructions. The outcome is attacker-controlled code or an image running inside a privileged environment.
Why this matters: the reader believes they are installing the genuine tool from the genuine instructions. Instead they install the attacker's program, and because veneur is meant to run on company servers inside the private network, that program runs somewhere with real access.
Step 2 (second attack): Replace the site with a fake login
Replace the contents of the website with a fake Stripe login screen.
Why this step: a login screen is a familiar thing to type a username and password into. If the page looks like Stripe's, a visitor has little reason to suspect it. "Phishing" is the name for this trick: presenting a fake page that imitates a real service in order to collect credentials. "Credentials" means the username and password (or similar proof of identity) that let someone sign in.
Step 3 (second attack): Capture credentials
A veneur user, who is likely to also be a Stripe user, enters their username and password into the fake login screen. The outcome is that the attacker gains access to privileged credentials.
Why this matters: the person reading veneur's documentation is plausibly also a Stripe customer, so the same username and password may unlock a Stripe account. The attacker does not need to break any encryption; they simply read what was typed into their own fake page.
The report stresses why this is more plausible than a lookalike domain: because https://veneur.org is linked to by an official, Stripe-controlled repository, there is a much greater likelihood that the attack will succeed than if it had to operate on a different domain. A lookalike domain is a name that imitates a real one, for example with a swapped letter. Here the attacker does not need to imitate anything, because the real official page does the pointing.
Steps to reproduce as given
- Visit https://github.com/stripe/veneur
- Click on the
https://veneur.orglink in the sidebar.
Why these steps: they show the whole issue in two clicks. The first opens the official Stripe-owned project page. The second follows the outbound link that the page itself provides. If the domain is no longer Stripe's, the second click hands the reader to whoever controls it.
The report's supporting material links to two images: one of the link in the sidebar, and one of the contents of the website at the time.
Root cause
The mistake is a documentation and repository-configuration one: an official repository pointed readers at an external domain for installation instructions, and that domain was no longer under Stripe's control. The trust conveyed by the Stripe-owned repository transferred to whatever the domain served.
"Root cause" means the underlying reason the problem exists, as opposed to its symptoms. Here the underlying reason is not a coding bug. It is that a trusted page linked to something outside the organisation's control.
The link is ordinary content on a trusted page. Browsers warn about some dangers, such as a page pretending to be encrypted when it is not, but an ordinary link from a genuine page to a genuine-looking site raises no warning at all.
Impact
An attacker can impersonate Stripe, taking advantage of the fact that the website is linked to by an official Stripe-owned web page. They can use this as the beginning of a phishing or supply-chain contamination attack targeting Stripe's customers. "Supply-chain contamination" means tampering with something people download and install, so that the harm spreads through the normal installation process rather than through a direct break-in. The targets named are users of the open source release of veneur, not specifically Stripe, and Stripe customers. The severity recorded for the report is low, with a CVSS score of 2.0. CVSS is a standard scoring system for rating how serious a security issue is; 2.0 is on the low end of its scale.
Fix
Since the initial report at https://github.com/stripe/veneur/issues/1058, the repository's sidebar has been updated to no longer link to the uncontrolled domain. The report notes that many of the 179 forks of the repository still contain the link to the uncontrolled domain, so the exposure persists wherever a fork is used as the entry point.
A "fork" is a personal copy of someone else's repository on GitHub. Forks keep their own copy of the files, so a change made to the original does not automatically reach them. Anyone who lands on a fork instead of the original still sees the old link.
Variants to test
These are other places to look for the same kind of mistake. Each one describes what to check and what would count as a hit.
- Check the sidebar, README and docs of other organisation-owned repositories for links to domains the organisation no longer controls. A positive result is a live link on the official repository to a domain whose registration or content is outside the organisation's control.
- Check forks of security-sensitive repositories for the same stale links. A positive result is a fork that still carries the outbound link after the upstream repository removed it.
- Check whether installation instructions live off-site rather than in the repository. A positive result is a README that sends readers to an external domain for the steps that determine which code or image gets run.
- Check whether the external domain currently serves content consistent with the project, or something unrelated such as a login form. A positive result is a page that could plausibly be used to harvest credentials or to redirect installation to attacker-controlled artefacts.
Glossary
- Artefact: a file that gets installed and run, such as source code or a prebuilt container image.
- Browser: the program you use to view web pages, such as Firefox or Chrome.
- Container image / docker image: a packaged bundle containing a program and everything it needs to run, which a server can download and start.
- Credentials: the username and password (or similar proof of identity) that let someone sign in.
- CVSS: a standard scoring system for rating how serious a security issue is; 2.0 is on the low end of its scale.
- Domain: an address on the internet, such as
veneur.org; whoever registers it decides what it shows. - Exploit chain: a sequence of steps that, taken together, achieve an attacker's goal.
- Fork: a personal copy of someone else's repository on GitHub, which keeps its own copy of the files.
- GitHub: a website where software projects are stored and shared, and where anyone can read public code.
- Lookalike domain: a domain name that imitates a real one, for example with a swapped letter.
- Misconfiguration: a setting or arrangement that is not set up safely, as opposed to a flaw in the code itself.
- Open source: code that is public and can be read, copied and reused by anyone.
- Phishing: presenting a fake page that imitates a real service in order to collect credentials.
- Private network: the internal machines a company uses that are not directly reachable from the public internet.
- Privileged environment: a place with more access and trust than an ordinary user's computer.
- README: the front page of a code project, where installation steps usually live.
- Registrar: a company that sells and manages domain names.
- Repository (repo): a project's folder on GitHub, holding its files plus its history of changes.
- Root cause: the underlying reason a problem exists, as opposed to its symptoms.
- Sidebar: the column of links shown next to the code on a GitHub repository page.
- Sidecar: a small helper program that runs alongside the main application on the same machine.
- Source code: the human-readable text of a program.
- Supply-chain contamination: tampering with something people download and install, so the harm spreads through the normal installation process.