1316 matches found
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...
CVE-2022-1993: Improper Limitation of a Pathname to a Restricted Directory
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9...
Path Traversal in Git HTTP endpoints in Gogs
Impact The malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected. Patches Path cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev. Workarounds N/A References...
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...
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 ...
CVE-2022-1992: Improper Limitation of a Pathname to a Restricted Directory
Path Traversal in GitHub repository gogs/gogs prior 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...
CVE-2022-31038: Improper Neutralization of Input During Web Page Generation
Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 DisplayName does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes DisplayName...
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...
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...
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...