Discussion:
[Openvas-plugins] WMI to query Windows in plugin gb_windows_cpe_detect.nasl
Sebastien Aucouturier
2017-05-24 14:47:15 UTC
Permalink
Hi team,

in the plugin gb_windows_cpe_detect.nasl

the wmi connection is disabled: code is commented

#WMI Part deactivated until Mantis 52166 is fixed.
#handle = wmi_connect(host:host, username:usrname, password:passwd);
#handlereg = wmi_connect_reg(host:host, username:usrname, password:passwd);


what is this reference to Mantis 52166 bug ? where to get more info and
news about the fix ?

Thanks a lot.

Sebastien Aucouturier
Christian Fischer
2017-07-04 05:39:29 UTC
Permalink
Hi,
Post by Sebastien Aucouturier
Hi team,
in the plugin gb_windows_cpe_detect.nasl
the wmi connection is disabled: code is commented
#WMI Part deactivated until Mantis 52166 is fixed.
#handle = wmi_connect(host:host, username:usrname, password:passwd);
#handlereg = wmi_connect_reg(host:host, username:usrname, password:passwd);
what is this reference to Mantis 52166 bug ? where to get more info and
news about the fix ?
Unfortunately there is currently nothing to tell here from NVT/Plugin
side beside that some WMI methods like wmi_reg_enum_value() from
openvas-smb are failing due to unknown reasons.

You will notice this when getting entries like:

[/usr/src/openvas-smb/samba/lib/util/fault.c:163:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[/usr/src/openvas-smb/samba/lib/util/fault.c:164:fault_report()]
INTERNAL ERROR: Signal 11 in pid 13515
(4.0.0tp4-SVN-build-UNKNOWN)[/usr/src/openvas-smb/samba/lib/util/fault.c:165:fault_report()]
Please read the file BUGS.txt in the distribution
[/usr/src/openvas-smb/samba/lib/util/fault.c:166:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[/usr/src/openvas-smb/samba/lib/util/fault.c:144:smb_panic()] PANIC:
internal error
[/usr/src/openvas-smb/samba/lib/util/fault.c:63:call_backtrace()]
Post by Sebastien Aucouturier
Thanks a lot.
Sebastien Aucouturier
Regards,
--
Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
Christian Fischer
2018-08-03 06:43:31 UTC
Permalink
Hi,
Post by Christian Fischer
Hi,
Post by Sebastien Aucouturier
Hi team,
in the plugin gb_windows_cpe_detect.nasl
the wmi connection is disabled: code is commented
#WMI Part deactivated until Mantis 52166 is fixed.
#handle = wmi_connect(host:host, username:usrname, password:passwd);
#handlereg = wmi_connect_reg(host:host, username:usrname, password:passwd);
what is this reference to Mantis 52166 bug ? where to get more info and
news about the fix ?
Unfortunately there is currently nothing to tell here from NVT/Plugin
side beside that some WMI methods like wmi_reg_enum_value() from
openvas-smb are failing due to unknown reasons.
[/usr/src/openvas-smb/samba/lib/util/fault.c:163:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[/usr/src/openvas-smb/samba/lib/util/fault.c:164:fault_report()]
INTERNAL ERROR: Signal 11 in pid 13515
(4.0.0tp4-SVN-build-UNKNOWN)[/usr/src/openvas-smb/samba/lib/util/fault.c:165:fault_report()]
Please read the file BUGS.txt in the distribution
[/usr/src/openvas-smb/samba/lib/util/fault.c:166:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
internal error
[/usr/src/openvas-smb/samba/lib/util/fault.c:63:call_backtrace()]
It seems this got fixed now with the following two PR which will should
be part of one of the upcoming OpenVAS/GVM releases:

https://github.com/greenbone/openvas-smb/pull/17
https://github.com/greenbone/openvas-scanner/pull/130
Post by Christian Fischer
Post by Sebastien Aucouturier
Thanks a lot.
Sebastien Aucouturier
Regards,
Regards,
--
Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | https://www.greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
Loading...