Hunt prep
Before you test gogs/gogs
What 10 disclosed reports say about gogs/gogs: 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 |
|---|---|---|---|---|---|
| RCE lesson | 3 | 0 | – | – | $0 |
| Path traversal lesson | 2 | 0 | – | – | $0 |
| SSRF lesson | 2 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| File upload lesson | 1 | 0 | – | – | $0 |
| XSS 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.
-
Gogs OS Command Injection vulnerability
The fix makes the sanitisation of upload paths to the .git directory case-insensitive; users should upgrade to 0.12.11 or later, or disable repository upload as a workaround.
Disclosed
-
Path Traversal in Git HTTP endpoints in Gogs
Path cleaning was added for the Git HTTP endpoints, and users should upgrade to version 0.12.9 or the latest 0.13.0+dev.
Disclosed
-
OS Command Injection in file editor in Gogs
File deletions to the repository's .git directory were prohibited, and users should upgrade to version 0.12.9 or later.
Disclosed
-
Cross-site Scripting in Gogs
The issue was fixed by correctly setting the Content Security Policy for the serving endpoint; users should upgrade to version 0.12.7 or later.
Disclosed
-
Unrestricted Upload of File with Dangerous Type in Gogs
The issue was fixed by prohibiting repository file uploads to the .git directory; users should upgrade to 0.12.6 or later.
Disclosed
-
Gogs vulnerable to improper PAM authorization handling
The issue was fixed in version 0.12.5 and 0.13.0+dev by no longer treating expired PAM accounts or expired passwords as valid.
Disclosed
-
SSRF in repository migration
The issue was fixed in version 0.12.5 and later 0.13.0+dev by prohibiting internal network CIDRs as migration targets; until upgrading, run Gogs in its own private network.
Disclosed