Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Canonicalization |
|---|---|
| Date: | Thu, 13 Apr 2006 14:17:45 +0200 |
I am writing some examples. Please tell me if these are the examples of Canonicalization.
1. When an web application gets parameters from a GET request or POST request, and if that parameter is going to be used as a part of an SQL query, then the programmer must take care to convert the single-quote (') to two single-quotes('') for Oracle Database in order to prevent SQL injection. Is this canonicalization?
2. Take a guestbook of a site. The feedback given is going to appear back in the web-page. Here we need to take care that things like "<font>" should be converted to ">font<" before it appears on the page. Is this a case of canonicalization?
c:\inetpub\wwwroot\cgi-bin\..\..\..\Windows\System32\cmd.exe
becomes
c:\Windows\System32\cmd.exe
through a process of filesystem path canonicalization.
and
http://victim.example.org/..%c0%af..%c0%af..%c0%af..%c0%afWindows%c0%afSystem32%c0%afcmd.exe
becomes
http://victim.example.org/../../../Windows/System32.cmd.exe
through a process of unicode canonicalization.
Hope this helps.
Rogan
------------------------------------------------------------------------- This List Sponsored by: SPI Dynamics
https://download.spidynamics.com/1/ad/web.asp?Campaign_ID=701300000003gRl --------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Canonicalization, Jason |
|---|---|
| Next by Date: | Re: Re: Canonicalization, Mariusz Pękala |
| Previous by Thread: | Re: Canonicalization, Jason |
| Next by Thread: | Re: Re: Canonicalization, Mariusz Pękala |
| Indexes: | [Date] [Thread] [Top] [All Lists] |