mirror of
https://github.com/0xMarcio/cve.git
synced 2026-06-01 19:21:35 +02:00
20 lines
994 B
Markdown
20 lines
994 B
Markdown
### [CVE-2020-15867](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15867)
|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
- https://github.com/EdgeSecurityTeam/Vulnerability
|
|
- https://github.com/tzwlhack/Vulnerability
|
|
|