Multiple vulnerabilities in Gitea



Published: 2020-03-09 | Updated: 2022-06-08
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID N/A
CWE-ID CWE-352
CWE-601
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Gitea
Web applications / Modules and components for CMS

Vendor The Gitea Authors

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

Updated: 25.03.2020

Changed bulletin status to patched.

1) Cross-site request forgery

EUVDB-ID: #VU25825

Risk: Low

CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin when API endpoints are normal GET requests. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Gitea: 0.9.99 - 1.11.2

External links

http://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOGITEAGITEA-559123
http://github.com/go-gitea/gitea/issues/4596
http://github.com/go-gitea/gitea/pull/10462


Q & A

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.

2) Open redirect

EUVDB-ID: #VU25826

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')

Exploit availability: No

Description

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data on internal links. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Gitea: 0.9.99 - 1.11.2

External links

http://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOGITEAGITEA-559122
http://github.com/go-gitea/gitea/issues/4332
http://github.com/go-gitea/gitea/pull/10462


Q & A

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.



###SIDEBAR###