1170 matches found
PT-2022-20478 · Gogs · Gogs
Name of the Vulnerable Software and Affected Versions: Gogs versions prior to 0.12.9 Description: The issue is related to an XSS vulnerability in the repository issue list of Gogs, an open source self-hosted Git service. In affected versions, the DisplayName does not filter characters input from...
Path Traversal in file editor on Windows in Gogs
Impact The malicious user is able to delete and upload arbitrary files. All installations on Windows with repository upload enabled default are affected. Patches Path cleaning has accommodated for Windows. Users should upgrade to 0.12.9 or the latest 0.13.0+dev. Workarounds N/A References...
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation 'Cross-site Scripting' in gogs.io/gogs...
PT-2022-14245 · Gogs · Gogs
Name of the Vulnerable Software and Affected Versions: gogs/gogs versions prior to 0.12.9 Description: The issue allows a malicious user to craft HTTP requests to access unauthorized Git directories. All installations are affected. Recommendations: For versions prior to 0.12.9, upgrade to 0.12.9 ...
OS Command Injection in file editor in Gogs
Impact The malicious user is able to update a crafted config file into repository's .git directory in combination with crafted file deletion to gain SSH access to the server. All installations with repository upload enabled default are affected. Patches File deletions are prohibited to repository...
PT-2022-14238 · Gogs · Gogs
Name of the Vulnerable Software and Affected Versions: gogs/gogs versions prior to 0.12.9 Description: The issue allows a malicious user to update a crafted config file into the repository's .git directory, combined with crafted file deletion, to gain SSH access to the server. This affects all...
Bypass to Remote Command Execution in uploading repository file
Description I find a bypass for CVE-2022-0415 and previous fixs. In the fix of CVE-2022-0415, gogs filter /.git/ by strings.HasSuffix and strings.Contains. However, use /.Git/ can bypass this and upload successfully Proof of Concept Create a repository in Gogs, upload a file config to the...
Server-Side Request Forgery in gogs webhook
Impact The malicious user is able to discover services in the internal network through webhook functionality. All installations accepting public traffic are affected. Patches Webhook payload URLs are revalidated before each delivery to make sure they are not resolved to blocked local network...
GHSA-W689-557M-2CVQ Server-Side Request Forgery in gogs webhook
Impact The malicious user is able to discover services in the internal network through webhook functionality. All installations accepting public traffic are affected. Patches Webhook payload URLs are revalidated before each delivery to make sure they are not resolved to blocked local network...
Cross-site Scripting (XSS)
github.com/gogs/gogs is vulnerable to cross-site scriptingXSS attacks. An attacker is able to inject and execute malicious javascript through Contexter function via a manipulated CSRF cookie...
OS Command Injection
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 repoeditor.go and gain SSH access to the server...
Remote Code Execution (RCE)
github.com/gogs/gogs is vulnerable to remote code execution. The vulnerability exists in the isRepositoryGitPath function in repoeditor.go due to a lack of input validation in git configuration which allows an attacker to upload and execute malicious code...
Gogs < 0.12.8 RCE Vulnerability
Gogs is prone to a remote command execution RCE vulnerability. Copyright C 2022 Greenbone Networks GmbH Some text descriptions might be excerpted from a referenced sources, and are Copyright C by the respective right holders. SPDX-License-Identifier: GPL-2.0-or-later This program is free software...
Server-Side Request Forgery in gogs webhook
Server-Side Request Forgery SSRF in GitHub repository gogs/gogs prior to 0.12.8...
GHSA-56J7-2PM8-RGMX OS Command Injection in gogs
Impact The malicious user is able to update a crafted config file into repository's .git directory with to gain SSH access to the server. All installations with repository upload enabled default are affected. Patches Repository file updates are prohibited to its .git directory. Users should upgra...
OS Command Injection in gogs
Impact The malicious user is able to update a crafted config file into repository's .git directory with to gain SSH access to the server. All installations with repository upload enabled default are affected. Patches Repository file updates are prohibited to its .git directory. Users should upgra...
GHSA-958J-443G-7MM7 OS Command Injection in gogs
Impact The malicious user is able to upload a crafted config file into repository's .git directory with to gain SSH access to the server. All Windows installations with repository upload enabled default are affected. Patches Repository file uploads are prohibited to its .git directory. Users shou...
OS Command Injection in gogs
Impact The malicious user is able to upload a crafted config file into repository's .git directory with to gain SSH access to the server. All Windows installations with repository upload enabled default are affected. Patches Repository file uploads are prohibited to its .git directory. Users shou...
Cross site scripting via cookies in gogs
Impact There is no known practical impact other than it is just possible to manipulate CSRF cookie and XSS the malicious user self. Patches Invalid characters of CSRF tokens are stripped after reading cookie. Users should upgrade to 0.12.8 or the latest 0.13.0+dev. Workarounds No need for...
GHSA-PJ96-4JHV-V792 Cross site scripting via cookies in gogs
Impact There is no known practical impact other than it is just possible to manipulate CSRF cookie and XSS the malicious user self. Patches Invalid characters of CSRF tokens are stripped after reading cookie. Users should upgrade to 0.12.8 or the latest 0.13.0+dev. Workarounds No need for...