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.




Network Security Web-App-Sec
[Top] [All Lists]

Re: .com. filter bypass

Subject: Re: .com. filter bypass
Date: Thu, 19 Aug 2004 09:48:20 -0400 (EDT)
On Wed, 18 Aug 2004, RSnake wrote:


      I know this is pretty trivial, but I haven't seen anyone write anything
about this.  I'm not sure how useful it really is as an attack vector, but:

"http://www.google.com./"; is a valid url in browsers (with the dot at the 
end).

[ snip ]

As a side
note, nslookup and traceroute both ignored the trailing period, which actually
is okay behavior, but also makes them candidates if this sort of check is
performed before they are run with a system call....  Yup, as I said, pretty
trivial.

I think it should be pointed out that especially these tools (nslookup,
traceroute, etc.) are not "ignoring" the period.  The trailing dot in a
domain name has a very specific meaning as the root domain.  It
signifies that the end of the domain in question is really the end.

some.domain could also be subject to adding domain search suffixes.
some.domain. is literally some.domain.

Put another way, if mydomain.com is in your domain search path, then
if you look up myhost, it will fail by itself but succeed as
myhost.mydomain.com.

myhost. will fail, as mydomain.com will not be added to the end.

In any event.  These things are all handled by the dns lookup
subsystems, usually not by the actual applications.  They will just use
gethostbyname() or what have you, and it will do the rest.

(This is a user/app view of the trailing dot, not a dns zone file type
view where it affects whether to add the origin or not, but the meaning
is the same).


-R

The information in this email is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to
this email by anyone else is unauthorized.  If you are not the
intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it is
expressly prohibited and may be unlawful.


-- 
:wq

<Prev in Thread] Current Thread [Next in Thread>