Description
CSV Injection vulnerability in Nikto 2.1.6 and earlier allows remote attackers to inject arbitrary OS commands via the Server field in an HTTP response header, which is directly injected into a CSV report.
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 | nikto | 1:2.1.5-3 | — |
| Debian 13 | nikto | 1:2.1.5-3 | — |
| Debian 12 | nikto | 1:2.1.5-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nikto | No fix yet | — |
| Ubuntu 16.04 LTS | nikto | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nikto | 2.1.6-r2 | — |
| Alpine v3.23 | nikto | 2.1.6-r2 | — |
| Alpine v3.22 | nikto | 2.1.6-r2 | — |
| Alpine v3.21 | nikto | 2.1.6-r2 | — |
| Alpine v3.20 | nikto | 2.1.6-r2 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nikto | 2.1.6-r2 | — |
| Alpine v3.18 | nikto | 2.1.6-r2 | — |
| Alpine v3.17 | nikto | 2.1.6-r2 | — |
| Alpine v3.16 | nikto | 2.1.6-r2 | — |
| Alpine v3.15 | nikto | 2.1.6-r2 | — |
| Alpine v3.14 | nikto | 2.1.6-r2 | — |
| Alpine v3.13 | nikto | 2.1.6-r2 | — |
| Alpine v3.12 | nikto | 2.1.6-r2 | — |
| Alpine v3.11 | nikto | 2.1.6-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Nikto 2.1.6 - CSV Injection EDB-44899 · local · Jun 18, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.