CVE-2022-4427 SQL Injection via OTRS Search API
Attackers can perform SQL injection via the TicketSearch Webservice in OTRS, 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-4427?
CVE-2022-4427 is a medium-severity SQL injection vulnerability in Otrs Otrs, published on 19 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper Input Validation vulnerability in OTRS AG OTRS, OTRS AG ((OTRS)) Community Edition allows SQL Injection via TicketSearch Webservice This issue affects OTRS: from 7.0.1 before 7.0.40 Patch 1, from 8.0.1 before 8.0.28 Patch 1; ((OTRS)) Community Edition: from 6.0.1 through 6.0.34.
Which versions are affected by CVE-2022-4427?
It affects 1 product.
Products include Otrs Otrs.
How do I fix CVE-2022-4427?
Upgrade to a fixed version.
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-4427 being exploited?
There is no known exploitation of CVE-2022-4427 in the wild and no public exploit code.
Other vulnerabilities in Otrs Otrs
Sources
Also known as DEBIAN-CVE-2022-4427, GHSA-qgm5-3gxj-29mw.