CVE-2022-38148 Blind SQL Injection via GridFieldSortableHeader
Attackers can execute arbitrary SQL commands via the Silverstripe framework, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-38148?
CVE-2022-38148 is a high-severity SQL injection vulnerability in n/a, published on 21 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Silverstripe silverstripe/framework through 4.11 allows SQL Injection.
Weakness: CWE-89
Which versions are affected by CVE-2022-38148?
4 open source packages ship an affected version, including silverstripe/framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0 | 4.10.11 |
silverstripe/framework Packagist | From 4.0.0 | 4.10.11 |
silverstripe/framework Packagist | From 4.11.0 | 4.11.14 |
silverstripe/framework Packagist | From 4.11.0 | 4.11.14 |
Products include Silverstripe Framework.
How do I fix CVE-2022-38148?
Upgrade silverstripe/framework to a fixed version for your release line: 4.10.11 or 4.11.14.
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-38148 being exploited?
There is no known exploitation of CVE-2022-38148 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-38462 Reflected XSS in querystring parameters
- CVE-2025-30148 Silverstripe Framework has a XSS vulnerability in HTML editor
- CVE-2024-53277 Cross-site Scripting in form messages in silverstripe framework
- CVE-2024-32981 Cross-site Scripting vulnerability with encoded payload in silverstripe/framework
- CVE-2023-22729 Silverstripe Framework has open redirect vulnerability on CMSSecurity relogin screen
Sources
Also known as GHSA-rr8h-f97q-8p9c.