hoch7.5Öffentlicher Exploit-Code
CVE-2022-30781
Shell command injection in gitea
Öffentlicher Exploit-Code
Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.
- Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)2022-09-15 · webapps · multiple · Verifiziert
Auswirkung
Gitea before 1.16.7 does not escape the shell out for `git fetch remote` allowing for shell command injection
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.16.7 | 1.16.7 |
Betroffene Produkte · Gitea
| Produkt | Betroffene Versionen |
|---|---|
| Gitea | vor 1.16.7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html
- https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/
- https://github.com/go-gitea/gitea/pull/19487
- https://github.com/go-gitea/gitea/pull/19490
- https://github.com/advisories/GHSA-p5f9-c9j9-g8qx
- https://nvd.nist.gov/vuln/detail/CVE-2022-30781