diff --git a/security/database.xml b/security/database.xml index 354d833be251..7ff968a9a195 100644 --- a/security/database.xml +++ b/security/database.xml @@ -330,6 +330,16 @@ $result = mssql_query($query); running with sufficient privileges, the attacker would now have an account with which to access this machine. + + + The mssql_query function belonged to the + mssql extension, which was + removed in PHP 7.0.0. + It is used here only to illustrate the attack; current code connecting + to MSSQL Server should use the sqlsrv or + pdo_sqlsrv extensions instead. + + Some examples above are tied to a specific database server, but it