Vulnerability   
Search   
    Search 219043 CVE descriptions
and 99761 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.104086
Category:Nmap NSE net
Title:Nmap NSE net: ms-sql-hasdbaccess
Summary:Queries Microsoft SQL Server (ms-sql) for a list of databases a user has access to.;;The script needs an account with the sysadmin server role to work. It needs to be fed credentials;through the script arguments or from the scripts 'mssql-brute' or 'mssql-empty-;password'.;;When run, the script iterates over the credentials and attempts to run the command until either all;credentials are exhausted or until the command is executed.;;SYNTAX:;;mssql-hasdbaccess.limit: limits the amount of databases per-user;that are returned (default 5). If set to zero or less all;databases the user has access to are returned.;;mssql.password: specifies the password to use to connect to;the server. This option overrides any accounts found by;the 'ms-sql-brute' and 'ms-sql-empty-password' scripts.;;mssql.username: specifies the username to use to connect to;the server. This option overrides any accounts found by;the 'mssql-brute' and 'mssql-empty-password' scripts.;;mssql.timeout: How long to wait for SQL responses. This is a number;followed by 'ms' for milliseconds, 's' for seconds,;'m' for minutes, or 'h' for hours. Default:;'30s'.
Description:Summary:
Queries Microsoft SQL Server (ms-sql) for a list of databases a user has access to.

The script needs an account with the sysadmin server role to work. It needs to be fed credentials
through the script arguments or from the scripts 'mssql-brute' or 'mssql-empty-
password'.

When run, the script iterates over the credentials and attempts to run the command until either all
credentials are exhausted or until the command is executed.

SYNTAX:

mssql-hasdbaccess.limit: limits the amount of databases per-user
that are returned (default 5). If set to zero or less all
databases the user has access to are returned.

mssql.password: specifies the password to use to connect to
the server. This option overrides any accounts found by
the 'ms-sql-brute' and 'ms-sql-empty-password' scripts.

mssql.username: specifies the username to use to connect to
the server. This option overrides any accounts found by
the 'mssql-brute' and 'mssql-empty-password' scripts.

mssql.timeout: How long to wait for SQL responses. This is a number
followed by 'ms' for milliseconds, 's' for seconds,
'm' for minutes, or 'h' for hours. Default:
'30s'.

CVSS Score:
4.0

CVSS Vector:
AV:N/AC:L/Au:S/C:P/I:N/A:N

CopyrightCopyright (C) 2011 NSE-Script: The Nmap Security Scanner; NASL-Wrapper: Greenbone Networks GmbH

This is only one of 99761 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2024 E-Soft Inc. All rights reserved.