Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions security/database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</para>
<note>
<simpara>
The <function>mssql_query</function> function belonged to the
<literal>mssql</literal> extension, which was
<link linkend="migration70.removed-exts-sapis">removed in PHP 7.0.0</link>.
It is used here only to illustrate the attack; current code connecting
to MSSQL Server should use the <link linkend="book.sqlsrv">sqlsrv</link> or
<link linkend="ref.pdo-sqlsrv">pdo_sqlsrv</link> extensions instead.
</simpara>
</note>
<note>
<para>
Some examples above are tied to a specific database server, but it
Expand Down