Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Vulnerability Development: MSIE print feature

MSIE print feature

From: Anonymous Anonymous <weaver27_at_EARTHLINK.NET>
Date: Fri, 24 Dec 1999 08:10:37 -0700

OK let's say you have a copyrighted site and you've asked users not to make
hardcopys of your highly specialized information. But someone prints it anyway.
You can arrange to scold them by making your URLs look something like this:

http://example.com/yoururl/test.cgi?"><H1>Copyright Violation

When loaded in the browser the page looks normal, but when printed, the large
message "Copyright Violation" appears at the top of the first page.

For this to work the user must have the Header set to &u in the Page Setup
dialog. Tested on MSIE 4 on NT SP4 but suppose other versions may do the same.

Apparently IE is parsing and obeying HTML that appears in the URL itself when it
prints the URL heading on the page. Some questions arise... Can you do other
things, not just <H1>? Would IE run this HTML in the context of your site or in
the context of the local file system?? So far these questions are unanswered
thus the post to vuln-dev to see what others may discover.

Note: you don't have to have the "test.cgi" and all that for this to work. That
merely illustrates how these "special" URLs can be created yet not interfere
with the normal functioning of your site. The key portion seems to be the ">
followed by HTML, such as:

http://example.com/"><H1>lusermessage

===============================================================
It is not only [a juror's] right, but his duty... to find the
verdict according to his own best understanding, judgement,
and conscience, though in direct opposition to the direction
of the court.
        -- John Adams

I consider trial by jury as the only anchor yet imagined,
by which a government can be held to the principles of its
constitution.
        -- Thomas Jefferson
Received on Dec 24 1999

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos