CVE-2018-11652
published 2018-06-01CVE-2018-11652: 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…
PriorityP264critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
24.73%
97.6th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cirt.net | nikto | <= 2.1.6 | — |
| debian | nikto | < nikto 1:2.1.5-3 (bookworm) | nikto 1:2.1.5-3 (bookworm) |
| nikto | nikto | >= 0 < 1:2.1.5-3 | 1:2.1.5-3 |
| nikto | nikto | >= 0 < 1:2.1.5-3 | 1:2.1.5-3 |
| nikto | nikto | >= 0 < 1:2.1.5-3 | 1:2.1.5-3 |
| nikto | nikto | >= 0 < 1:2.1.5-3 | 1:2.1.5-3 |
Detection & IOCsextracted from sources · hover to see the quote
- →Malicious HTTP Server response header containing CSV injection payload (formula starting with '=cmd|') — monitor for Server headers with formula-injection characters (=, +, -, @) followed by cmd or shell commands in HTTP responses received by Nikto during scans. ↗
- →Upstream patch available at GitHub commit e759b3300aace5314fe3d30800c8bd83c81c29f7 — diff can be used to identify the unsanitized CSV output code path in Nikto's report generation. ↗
- →Attack requires Nikto to be run with CSV output (-o <file>.csv); detection should focus on Nikto invocations that write CSV reports against attacker-controlled servers. ↗
- ·nginx-extras is required on the attacker's server to set arbitrary Server headers via more_set_headers; standard nginx does not support this directive. ↗
- ·server_tokens must be set to off in nginx.conf to prevent the default nginx version string from overriding the injected Server header value. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-pmf5-gx6h-8x53: CSV Injection vulnerability in Nikto 2
ghsa_unreviewed·2022-05-13
CVE-2018-11652 [CRITICAL] CWE-1236 GHSA-pmf5-gx6h-8x53: CSV Injection vulnerability in Nikto 2
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.
OSV
CVE-2018-11652: CSV Injection vulnerability in Nikto 2
osv·2018-06-01·CVSS 9.8
CVE-2018-11652 [CRITICAL] CVE-2018-11652: CSV Injection vulnerability in Nikto 2
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.
Debian
CVE-2018-11652: nikto - CSV Injection vulnerability in Nikto 2.1.6 and earlier allows remote attackers t...
vendor_debian·2018·CVSS 9.8
CVE-2018-11652 [CRITICAL] CVE-2018-11652: nikto - CSV Injection vulnerability in Nikto 2.1.6 and earlier allows remote attackers t...
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.
Scope: local
bookworm: resolved (fixed in 1:2.1.5-3)
bullseye: resolved (fixed in 1:2.1.5-3)
forky: resolved (fixed in 1:2.1.5-3)
sid: resolved (fixed in 1:2.1.5-3)
trixie: resolved (fixed in 1:2.1.5-3)
No detection rules found.
Exploit-DB
Saltstack 3000.1 - Remote Code Execution
exploitdb·2020-05-05·CVSS 9.8
CVE-2020-11652 [CRITICAL] Saltstack 3000.1 - Remote Code Execution
Saltstack 3000.1 - Remote Code Execution
---
# Exploit Title: Saltstack 3000.1 - Remote Code Execution
# Date: 2020-05-04
# Exploit Author: Jasper Lievisse Adriaanse
# Vendor Homepage: https://www.saltstack.com/
# Version: < 3000.2, < 2019.2.4, 2017.*, 2018.*
# Tested on: Debian 10 with Salt 2019.2.0
# CVE : CVE-2020-11651 and CVE-2020-11652
# Discription: Saltstack authentication bypass/remote code execution
#
# Source: https://github.com/jasperla/CVE-2020-11651-poc
# This exploit is based on this checker script:
# https://github.com/rossengeorgiev/salt-security-backports
#!/usr/bin/env python
#
# Exploit for CVE-2020-11651 and CVE-2020-11652
# Written by Jasper Lievisse Adriaanse (https://github.com/jasperla/CVE-2020-11651-poc)
# This exploit is based on this checker script:
# https:/
Exploit-DB
Nikto 2.1.6 - CSV Injection
exploitdb·2018-06-18·CVSS 9.8
CVE-2018-11652 [CRITICAL] Nikto 2.1.6 - CSV Injection
Nikto 2.1.6 - CSV Injection
---
# Exploit Title: Nikto 2.1.6 - CSV Injection
# Google Dork: N/A
# Date: 2018-06-01
# Exploit Author: Adam Greenhill
# Vendor Homepage: https://cirt.net/Nikto2
# Software Link: https://github.com/sullo/nikto
# Affected Version: 2.1.6, 2.1.5
# Category: Applications
# Tested on: Kali Linux 4.14 x64
# CVE : CVE-2018-11652
# Technical 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.
# PoC
# Install nginx and nginx-extras: apt-get install -y nginx nginx-extras
# Configure the nginx server as follows by editing the /etc/nginx/nginx.conf file:
user www-data;
worker_processes auto;
pid /r
Bugzilla
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header
bugzilla·2018-06-04·CVSS 9.8
CVE-2018-11652 [CRITICAL] CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header
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.
Upstream patch:
https://github.com/sullo/nikto/commit/e759b3300aace5314fe3d30800c8bd83c81c29f7
Discussion:
Created nikto tracking bugs for this issue:
Affects: epel-7 [bug 1585614]
Affects: fedora-all [bug 1585613]
---
Already fixed in fedora via:
nikto-2.1.6-1.fc27
nikto-2.1.6-1.fc28
Bugzilla
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [epel-7]
bugzilla·2018-06-04·CVSS 9.8
CVE-2018-11652 [CRITICAL] CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [epel-7]
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template t
Bugzilla
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [fedora-all]
bugzilla·2018-06-04·CVSS 9.8
CVE-2018-11652 [CRITICAL] CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [fedora-all]
CVE-2018-11652 nikto: CSV injection via the Server field in an HTTP response header [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
2018-06-01
Published