Hello All,
I believe the following Nessus Script ID 22189 version 1.2 contains two bugs.
During QA testing, I noticed that script ID 22189 would launch and finish before smb_hotfixes.nasl would finish causing the following code in script ID 22189 to return null (common = hotfix_get_commonfilesdir();)
To fix this I change script_dependencies to:
Old Line:
script_dependencies("netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl"
New line should be: script_dependencies("smb_hotfixes.nasl","netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl");
The second bug contains the wrong path for vbe6.dll.
Old line:
vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA6\vbe6.dll", string:common);
New line should be:
vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA\VBA6\vbe6.dll", string:common);
Can someone review my finding?
Thanks,
Paul
I believe the following Nessus Script ID 22189 version 1.2 contains two bugs.
During QA testing, I noticed that script ID 22189 would launch and finish before smb_hotfixes.nasl would finish causing the following code in script ID 22189 to return null (common = hotfix_get_commonfilesdir();)
To fix this I change script_dependencies to:
Old Line:
script_dependencies("netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl"
New line should be: script_dependencies("smb_hotfixes.nasl","netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl");
The second bug contains the wrong path for vbe6.dll.
Old line:
vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA6\vbe6.dll", string:common);
New line should be:
vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA\VBA6\vbe6.dll", string:common);
Can someone review my finding?
Thanks,
Paul