LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-20-2008, 05:44 PM   #1
gliesian
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Rep: Reputation: 0
Client browser add-on detection


I know that a web server can detect the type of browser that is being used. Can a web server detect add-ons that are used by those browsers? If so, how?
 
Old 04-20-2008, 07:38 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by gliesian View Post
I know that a web server can detect the type of browser that is being used. Can a web server detect add-ons that are used by those browsers? If so, how?
Are you trying to do this or protect yourself from having it done to you?

I believe it depends on the browser's design, but someone please correct me if I'm wrong. It's definitely not something to be taken lightly, as in most cases it would be considered a security vulnerability (information disclosure) IMHO. IIRC Firefox has been affected by this issue in the past, and it was consequently patched due to the security implications.

So, unless a browser specifically provides this as a feature, you'd need to exploit it in order to get your hands on this information. And in that case, a discussion regarding a "how" would not be compatible with the LQ Rules. This is just something I would like our members to keep in mind when replying to your question.

As far as a legit way to do it, I think you could probably create a Firefox extension which does this. Users could then install it at their own risk if they so wish. Of course, the extension developer would need to document the method which the server would need to use to query the browser for the details.
 
Old 04-21-2008, 07:39 AM   #3
gliesian
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Client (Browser) info.

Quote:
Originally Posted by win32sux View Post
Are you trying to do this or protect yourself from having it done to you?

I believe it depends on the browser's design, but someone please correct me if I'm wrong. It's definitely not something to be taken lightly, as in most cases it would be considered a security vulnerability (information disclosure) IMHO. IIRC Firefox has been affected by this issue in the past, and it was consequently patched due to the security implications.

So, unless a browser specifically provides this as a feature, you'd need to exploit it in order to get your hands on this information. And in that case, a discussion regarding a "how" would not be compatible with the LQ Rules. This is just something I would like our members to keep in mind when replying to your question.

As far as a legit way to do it, I think you could probably create a Firefox extension which does this. Users could then install it at their own risk if they so wish. Of course, the extension developer would need to document the method which the server would need to use to query the browser for the details.
You've answered my question... thanks.

I am curious though, how does the web server know what browser is being used? I guess it's sent in the connection messages.

I guess it's these five things (IP Address, remote port, browser cookie, browser name, browser licensee); http://www.red-squirrel.com/cgi-bin/env.cgi
 
Old 04-21-2008, 10:30 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by win32sux View Post
It's definitely not something to be taken lightly, as in most cases it would be considered a security vulnerability (information disclosure) IMHO. IIRC Firefox has been affected by this issue in the past, and it was consequently patched due to the security implications.
IIGC the FF extension one had to do with chrome:// URIs. (Gotta love the browser that renders everything *plus* the kitchensink.) See the ha.ckers site, they do a pretty good job explaining all sorts of FF "goodies".


Quote:
Originally Posted by gliesian View Post
I am curious though, how does the web server know what browser is being used? I guess it's sent in the connection messages.
The browser specs are in the UA or "User Agent" string the application sends. Servers can not depend on it because often apps have ways to "d|refine" the UA at compile time, through config files (Privoxy: hide-user-agent{}) or on the CLI (wget, mplayer: --user-agent).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Query regarding aunching browser at client m/c arun.tayal Linux - Newbie 0 01-22-2008 11:24 AM
Client browser cannot find server edbiano Linux - Newbie 3 05-27-2005 09:22 PM
Client machine hardware and software detection using a program in red hat 9 network. Mohit.Project Linux - Networking 1 01-28-2004 01:46 PM
Browser detection tommytomato Linux - General 4 01-10-2004 09:11 PM
Which browser +msn client for console? patrickdepingui Linux - Software 10 11-20-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration