Vulnerability identifier: #VU48686
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2020-28991
CWE-ID:
CWE-918
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Gitea
Web applications /
Modules and components for CMS
Vendor: The Gitea Authors
Description
The disclosed vulnerability allows a remote attacker to perform SSRF attacks.
The vulnerability exists due to insufficient validation of user-supplied input within the in ParseRemoteAddr() function in "modules/auth/repo_form.go". The application accepts "git" protocol along with a custom TCP port number and new lines within an encoded URL. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.
Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Gitea: 0.9.99 - 1.12.5
External links
https://github.com/go-gitea/gitea/releases/tag/v1.12.6
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.