#VU25825 Cross-site request forgery in Gitea


Published: 2020-03-09 | Updated: 2022-06-08

Vulnerability identifier: #VU25825

Vulnerability 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

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Gitea
Web applications / Modules and components for CMS

Vendor: The Gitea Authors

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.


Latest bulletins with this vulnerability