-
Notifications
You must be signed in to change notification settings - Fork 283
Update all-for-one.md #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,32 +1,87 @@ | ||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||
| name: All for One, One For All bounty submission | ||||||||||||||||||||||||||||||||||
| about: Submit a CodeQL query for the All For One, One For All bounty (https://securitylab.github.com/bounties) | ||||||||||||||||||||||||||||||||||
| title: "[USERNAME]: [SUMMARY]" | ||||||||||||||||||||||||||||||||||
| title: "[TARGET-LANGUAGE]: [SUMMARY]" | ||||||||||||||||||||||||||||||||||
| labels: All For One | ||||||||||||||||||||||||||||||||||
| assignees: '' | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ## Query | ||||||||||||||||||||||||||||||||||
| ## 1. Query | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| *Link to pull request with your CodeQL query:* | ||||||||||||||||||||||||||||||||||
| ### Instructions ❓ | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| Link to pull request with your CodeQL query: | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Your answer 👇 | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| Relevant PR: https://github.com/github/codeql/pull/nnnn | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ## CVE ID(s) | ||||||||||||||||||||||||||||||||||
| ## 2. Report | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Instructions ❓ | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| Describe the vulnerability. Provide any information you think will help GitHub assess the impact your query has on the open source community. | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Your answer 👇 (you can ignore the suggested format) | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| 1. What is the vulnerability? | ||||||||||||||||||||||||||||||||||
| - Answer: ... | ||||||||||||||||||||||||||||||||||
| 1. How does the vulnerability work? | ||||||||||||||||||||||||||||||||||
| - Answer: ... | ||||||||||||||||||||||||||||||||||
| 1. What strategy do you use in your query to find the vulnerability? | ||||||||||||||||||||||||||||||||||
| - Answer: ... | ||||||||||||||||||||||||||||||||||
| 1. How have you reduced the number of **false positives**? | ||||||||||||||||||||||||||||||||||
| - Answer: ... | ||||||||||||||||||||||||||||||||||
| 1. Etc. | ||||||||||||||||||||||||||||||||||
| - Answer: ... | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ## 3. Social | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Instructions ❓ | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| Are you planning to discuss your query publicly? (Blog Post, social networks, etc). | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| **We would love to [help you] spread the word about the good work you are doing.** | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Your answer 👇 | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - [ ] Yes | ||||||||||||||||||||||||||||||||||
| - [ ] No | ||||||||||||||||||||||||||||||||||
| - [ ] Yes, I already have: [link](link) | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
Comment on lines
+39
to
+52
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved to bottom |
||||||||||||||||||||||||||||||||||
| ## 4. Result(s) | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Instructions ❓ | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - Provide at least one useful result found by your query, on some revision of a real project. | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| - If the result(s) is **fixed and disclosed**, then you can link it in this PR. | ||||||||||||||||||||||||||||||||||
| - If the result(s) is **NOT** fixed **nor disclosed**, then you can privately share your result via email to [security@github.com](mailto:security@github.com?subject=[BugBounty]%20Issue%20#000%20useful%20result) or on the [Security Lab slack](https://ghsecuritylab.slack.com/) sending it to `@TODO`. | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| - Even though your query is **out in the wild** (and it's quite trivial to run it against a sizable batch of projects), let's **not make things easy** for anyone wanting to exploit vulnerable projects. | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| - We understand that contacting maintainers of all the vulnerable repositories found by your query is a hard and lenghty process, and that's why we will add a bonus if you will do that **for at least X repositories** and get a [CVE assigned for them]. | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still under brainstorming whether we transform The Big Slayer to do that. Let's wait until we have more clarity |
||||||||||||||||||||||||||||||||||
| - Anyway, we're here for **automating things away** and if you want to leave the heavy lifting of finding and notifying vulnerable repositories' owners to GitHub security bots, that's fine with us. | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| - But in any case, we need proof that you **did your own reaserch** on [real projects], and succeeded in finding at least one **true positive result [through your query]**, proving that is it a **real vulnerability** that happens in real apps (and not a baseless assumption). | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ### Your answer 👇 (select one) | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
| - [ ] I will provide the result(s) **privately** to the Security Lab. | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| **OR** | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| *List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the [GitHub Advisory Database](https://github.com/advisories).* | ||||||||||||||||||||||||||||||||||
| - [ ] The vulnerability is already **fixed and disclosed**. | ||||||||||||||||||||||||||||||||||
| - Description: URL to vulnerable code | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+71
to
+72
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - CVE-20nn-nnnnn | ||||||||||||||||||||||||||||||||||
| ## 5. CVE ID(s) | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ## Report | ||||||||||||||||||||||||||||||||||
| ### Instructions ❓ | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| *Describe the vulnerability. Provide any information you think will help GitHub assess the impact your query has on the open source community.* | ||||||||||||||||||||||||||||||||||
| List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the [GitHub Advisory Database](https://github.com/advisories). | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - [ ] Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc). *We would love to have you spread the word about the good work you are doing* | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| ## Result(s) | ||||||||||||||||||||||||||||||||||
| ### Your answer 👇 | ||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| *Provide at least one useful result found by your query, on some revision of a real project.* | ||||||||||||||||||||||||||||||||||
| - Existing CVEs that my query would have been able to find if they weren't already fixed: | ||||||||||||||||||||||||||||||||||
| 1. CVE-20nn-nnnnn | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+83
to
+84
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| - [description](url) | ||||||||||||||||||||||||||||||||||
| - Vulnerabilities that my query found and then resulted in a CVE: | ||||||||||||||||||||||||||||||||||
| 1. CVE-20nn-nnnnn | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+86
to
+87
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.