28.10.2014 Views

SQL Injection Attacks and Defense - 2009

SQL Injection Attacks and Defense - 2009

SQL Injection Attacks and Defense - 2009

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Testing for <strong>SQL</strong> <strong>Injection</strong> • Chapter 2 87<br />

During the inference process Scrawlr sends only three injection strings, shown in Table 2.9.<br />

Table 2.9 Signatures Used by Scrawlr for <strong>SQL</strong> <strong>Injection</strong> Identification<br />

Testing Strings<br />

value’ OR<br />

value’ AND 5=5 OR ‘s’=’0<br />

number-0<br />

Scrawlr only detects verbose <strong>SQL</strong> injection errors where the server returns an HTTP<br />

500 code page with the returned error message from the database.<br />

■■<br />

■■<br />

■■<br />

URL: https://h30406.www3.hp.com/campaigns/2008/wwcampaign/1-57C4K/<br />

index.php?mcc=DNXA&jumpid=in_r11374_us/en/large/tsg/w1_0908_scrawlr_<br />

redirect/mcc_DNXA<br />

Supported platform: Microsoft Windows<br />

Price: Free<br />

<strong>SQL</strong>iX<br />

<strong>SQL</strong>iX is a free Perl application coded by Cedric Cochin. It is a scanner that is able to crawl<br />

Web sites <strong>and</strong> detect <strong>SQL</strong> injection <strong>and</strong> blind <strong>SQL</strong> injection vulnerabilities. Figure 2.20<br />

shows an example.<br />

Figure 2.20 <strong>SQL</strong>iX

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!