BUGTRAQ: Netscape Communicator bookmarks <TITLE> security vulnerability | Linux Today

BUGTRAQ: Netscape Communicator bookmarks <TITLE> security vulnerability

Written By
Web Webster
Web Webster
May 24, 1999

There is a security bug in Netscape Communicator 4.51 Win95,
4.07 Linux (guess all 4.x versions are affected) in the way they
handle special bookmarks with JavaScript code in the title.

If you enclose a JavaScript code with <SCRIPT> tags in the
<TITLE> tag and bookmark that page, the JavaScript code is
written in the local bookmarks file. Then when the bookmarks file
is open, the JavaScript code is executed in the security context of
a local file – the bookmarks file. The bookmarks file may be open
by a script, probably a server redirect or by the user. The
bookmarks file name must be known, but it is easily guessed for
most dialup users.

Vulnerabilities: reading user’s bookmarks, browsing local
directories, reading local files (works fine on Linux, probably
possible on Windows).

Workaround: Disable JavaScript or do not bookmark untrusted
pages.

Demonstration is available at: http://www.nat.bg/~joro/book2.html
See attached file for the source.

Georgi Guninski
 http://www.nat.bg/~joro
 http://www.whitehats.com/guninsk
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.