Description
Znuny through 7.3.6 constructs a ticket-search database query by directly concatenating user-supplied input into the SQL statement. This lack of proper sanitization or the use of parameterized queries allows an attacker to inject arbitrary SQL commands, leading to data theft, modification, or denial of service. Specifically this is in Kernel::System::Ticket::TicketSearch and Kernel::System::Ticket::ArticleSearchIndex::DB via the ContentSearch parameter. The parameter is expected to be either "AND" or "OR", but its value was concatenated directly into the generated SQL query without validation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Znuny | Znuny | < 6.5.25, 7.0.0 – < 7.3.7 | 6.5.25 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | znuny | 6.5.25-1 | — |
| Debian 13 | znuny | No fix yet | — |
| Debian 12 | znuny | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | znuny | No fix yet | — |
| Ubuntu 26.04 LTS | znuny | No fix yet | — |
| Ubuntu 24.04 LTS | znuny | No fix yet | — |
| Ubuntu 22.04 LTS | otrs2 | No fix yet | — |
| Ubuntu 20.04 LTS | otrs2 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | otrs2 | No fix yet | — |
| Ubuntu 16.04 LTS | otrs2 | No fix yet | — |