Skip navigation.

taviso

linux, programming and security

Common DNS Misconfiguration can lead to "same-site" Scripting

, ,

For anyone interested in web application security, I posted a writeup of an interesting cross site scripting variant to bugtraq over the weekend. The problem is due to dns administrators commonly installing unqualified localhost records.

This might sound harmless at first, but in fact makes it impossible to access affected sites securely via http (assuming they make use of cookies) from multi-user systems. Under certain circumstances it can be exploited even from single-user systems.

The full post is available here.

$ host localhost.opera.com
localhost.opera.com has address 127.0.0.1

Damn, and the machine I'm posting this from is indeed multi-user :-)

McAfee UpdateITDefense 2008 Next Week

Comments

Anonymous 21. January 2008, 01:27

foo writes:

I guess transparent proxies are now an interesting target.

Anonymous 17. April 2008, 00:39

fiction writes:

Great - and the non-profit company ARNES who is "in charge" of Slovene domains (.si) disallows domains which don't have a localhost.domain. A record pointing to 127.0.0.1.

(As described in http://www.arnes.si/domene/vpis_dns.html, altho
not many of you will be able to read that I guess).

Anonymous 25. July 2008, 16:30

anze writes:


The link above doesn't work because of a comma at the end - but I guess real hackers would notice (I didn't ;)...

http://www.arnes.si/domene/vpis_dns.html

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31