Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:35858
HistoryJun 03, 2022 - 7:24 a.m.

OS Command Injection

2022-06-0307:24:06
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
7
command injection
gogs
windows
repository upload
updaterepofile
ssh access
server

github.com/gogs/gogs is vulnerable to OS command injection. The vulnerability exists only in windows when the repository upload is enabled, allowing an attacker to upload maliciously crafted config file to the UpdateRepoFile function of repo_editor.go and gain SSH access to the server.

Related for VERACODE:35858