T-SQL

T-SQL : Insecure function

Classification

CWE/SANS Top 25 2011

Overview

The application uses an insecure xp_cmdshell function. This function launches a Windows command shell and executes the command that is provided in the argument string. The developer can not limit the scope of possible commands for a particular user. Any command will be executed with the existing user’s privileges.

CRITICAL

DerScanner Severity Score

Check your T-SQL code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.

How DerScanner analyses T-SQL code