Access Control Bypass Affecting github.com/go-gitea/gitea/routers/repo Open this link in a new tab package, versions <1.6.3
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
22 May 2022
23 Aug 2020
How to fix?
github.com/go-gitea/gitea/routers/repo to version 1.6.3 or higher.
Affected versions of this package are vulnerable to Access Control Bypass in the Delete/Edit file functionality that can result in the attacker deleting files outside the repository they have access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones.