Patchfirst
CVE-2020-15867 Public exploit EPSS 87.4%

The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

Gogs versions 0.5.5 through 0.12.2 contain a flaw in the git hook feature, which is documented but not exposed in the user interface. An attacker who has valid credentials can use this feature to execute code remotely, and a non-administrative user who is granted access to the hook feature can escalate privileges.

Official description · CVE.org

The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the documentation but not in the UI, it could be considered a "Product UI does not Warn User of Unsafe Actions" issue.

Breakdown
25.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 9 days before disclosure.

  1. Public exploit codeMetasploit9 days before
  2. Disclosedday 0
↑ ↓ chooseEnter openEsc close