Skip to content

Msf::DBManager::Import::Acunetix: Vulnerabilities are not imported #17932

@bcoles

Description

@bcoles

Vulnerabilities are not imported.

Sample XML export from Acunetix Vulnerability Scanner version 11.0.1732711618 (trial) run against metasploitable2. I terminated the scan before completion but the XML export contains plenty of data.

msf6 > db_import acunetix.xml 
[*] Importing 'Acunetix' data
[*] Import: Parsing with 'Nokogiri v1.14.2'
[*] Importing host 192.168.200.142
[*] Importing service 192.168.200.142:80
[*] Successfully imported /root/Desktop/metasploit-framework/acunetix.xml
msf6 > hosts

Hosts
=====

address          mac  name             os_name  os_flavor  os_sp  purpose  info  comments
-------          ---  ----             -------  ---------  -----  -------  ----  --------
192.168.200.142       192.168.200.142  Unknown                    device

msf6 > services
Services
========

host             port  proto  name  state  info
----             ----  -----  ----  -----  ----
192.168.200.142  80    tcp    http  open

msf6 > creds
Credentials
===========

host  origin  service  public  private  realm  private_type  JtR Format
----  ------  -------  ------  -------  -----  ------------  ----------

vmsf6 > vulns

Vulnerabilities
===============

Timestamp  Host  Name  References
---------  ----  ----  ----------

msf6 > notes

Notes
=====

 Time                   Host             Service  Port  Protocol  Type           Data
 ----                   ----             -------  ----  --------  ----           ----
 2023-04-25 14:35:56 U  192.168.200.142                           host.imported  {:filename=>"/root/Desktop/metasploit-framework/acunetix.xml", :type=>"Acunetix", :
 TC                                                                              time=>2023-04-25 14:35:56.345537239 UTC}

msf6 > wmap_vulns -l
msf6 > wmap_sites -l
[*] Available sites
===============

     Id  Host             Vhost            Port  Proto  # Pages  # Forms
     --  ----             -----            ----  -----  -------  -------
     0   192.168.200.142  192.168.200.142  80    http   0        0


msf6 > 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions