CVE-2019-11228 Gitea Improper Input Validation
An attacker can exploit missing validation in Gitea's mirror address setting to perform Server-Side Request Forgery, potentially accessing internal resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11228?
CVE-2019-11228 is a high-severity server-side request forgery vulnerability in Gitea Gitea, published on 13 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
repo/setting.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 does not validate the form.MirrorAddress before calling SaveAddress.
Weakness: CWE-20
Which versions are affected by CVE-2019-11228?
3 open source packages ship an affected version, including github.com/go-gitea/gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/go-gitea/gitea Go | All versions | 1.7.6 |
github.com/go-gitea/gitea Go | All versions | 1.7.6 |
github.com/go-gitea/gitea Go | All versions | 1.7.6 |
Products include Gitea Gitea.
How do I fix CVE-2019-11228?
Upgrade github.com/go-gitea/gitea to 1.7.6 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2019-11228 being exploited?
There is no known exploitation of CVE-2019-11228 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as GHSA-q47x-6mqq-4w92, GO-2022-0862.