CVE-2022-3751 SQL Injection in owncast/owncast
Attackers can execute arbitrary SQL commands in Owncast, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-3751?
CVE-2022-3751 is a high-severity SQL injection vulnerability in owncast/owncast, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL Injection in GitHub repository owncast/owncast prior to 0.0.13.
Weakness: CWE-89
Which versions are affected by CVE-2022-3751?
3 open source packages ship an affected version, including github.com/owncast/owncast. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/owncast/owncast Go | All versions | 0.0.13 |
github.com/owncast/owncast Go | All versions | 0.0.13 |
github.com/owncast/owncast Go | All versions | 0.0.13 |
Products include Owncast Project Owncast.
How do I fix CVE-2022-3751?
Upgrade github.com/owncast/owncast to 0.0.13 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-3751 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3751 exists.
Other vulnerabilities in owncast/owncast
- CVE-2023-46480 OwnCast remote code execution vulnerability
- CVE-2023-3188 Server-Side Request Forgery (SSRF) in owncast/owncast
- CVE-2024-29026 Owncast cross origin request
- CVE-2021-39183 Unsafe inline XSS Owncast
- CVE-2024-31450 Owncast vulnerable to arbitrary file deletion in emoji.go (GHSL-2023-277)
Sources
Also known as GHSA-cvh4-cjc9-84qm, GO-2022-1138.