Vulnerability Details : CVE-2022-30781
Public exploit exists!
Gitea before 1.16.7 does not escape git fetch remote.
Products affected by CVE-2022-30781
- cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-30781
90.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2022-30781
-
Gitea Git Fetch Remote Code Execution
Disclosure Date: 2022-05-16First seen: 2022-12-23exploit/multi/http/gitea_git_fetch_rceThis module exploits Git fetch command in Gitea repository migration process that leads to a remote command execution on the system. This vulnerability affect Gitea before 1.16.7 version. Authors: - wuhan005 - li4n0 - krastanoel
CVSS scores for CVE-2022-30781
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2022-30781
-
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-30781
-
https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/
Gitea 1.16.7 is released - BlogRelease Notes;Vendor Advisory
-
https://github.com/go-gitea/gitea/pull/19490
Escape git fetch remote (#19487) by 6543 · Pull Request #19490 · go-gitea/gitea · GitHubPatch;Third Party Advisory
-
http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html
Gitea 1.16.6 Remote Code Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://github.com/go-gitea/gitea/pull/19487
Escape git fetch remote by 6543 · Pull Request #19487 · go-gitea/gitea · GitHubPatch;Third Party Advisory
-
http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html
Gitea Git Fetch Remote Code Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
Jump to