Hunt prep
Before you test Homebrew
What 15 disclosed reports say about Homebrew: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Info disclosure lesson | 6 | 0 | – | – | $0 |
| Access control lesson | 3 | 0 | – | – | $0 |
| RCE lesson | 2 | 0 | – | – | $0 |
| Leaked secrets lesson | 1 | 0 | – | – | $0 |
| Memory corruption lesson | 1 | 0 | – | – | $0 |
| UI spoofing lesson | 1 | 0 | – | – | $0 |
| Open redirect lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Homebrew installed LaunchDaemons create simple root esclations
Homebrew should prevent LaunchDaemon executables from being replaceable by the user.
Disclosed
-
GitHub API Key for BrewTestBot is publicly exposed
No fix is stated; the reporter suggests a less permissive SSH deploy key may be better.
Disclosed
-
[bot.brew.sh] Full Path Disclosure
The report recommends protecting the root folder with basic authentication or removing the files that cause the stack trace errors.
Disclosed
-
Sensitive information disclosure via response headers on jenkins.brew.sh
The server should be configured to hide the nginx version in response headers, for example by setting server_tokens to off in the nginx configuration.
Disclosed
-
Server version disclosure on [jenkins.brew.sh]
The Nginx configuration should be changed to set 'server_tokens off;' so the version is no longer disclosed.
Disclosed
-
[https://jenkins.brew.sh] Jenkins in Debug Mode with Stack Traces Enabled
Stack traces should be disabled and the Jenkins installation locked down following the security guide.
Disclosed
-
How I gained commit access to Homebrew in 30 minutes
The issue was fixed by removing the exposed token and auditing for misuse, as stated in the public disclosure.
-
Remote code execution in Homebrew by compromising the official Cask repository
The vulnerability was fixed by updating the review script and possibly the git_diff library to correctly parse diffs.