[NT] Opera's "What's Next" Method Reveals Sensitive Information

From: support@securiteam.com
Date: 02/10/03

  • Next message: support@securiteam.com: "[NT] Opera's Image Handling Vulnerable to Cross Site Scripting"
    From: support@securiteam.com
    To: list@securiteam.com
    Date: 10 Feb 2003 15:32:15 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    Beyond Security would like to welcome Tiscali World Online
    to our service provider team.
    For more info on their service offering IP-Secure,
    please visit http://www.worldonline.co.za/services/work_ip.asp
    - - - - - - - - -

      Opera's "What's Next" Method Reveals Sensitive Information
    ------------------------------------------------------------------------

    SUMMARY

    Opera recently released a new version of its browser.

    Like any other browser, Opera supports the "history" object, which makes
    it possible to navigate through the browser history by exposing the
    "back", "forward", and "go" methods.

    The above methods can be called upon from a JavaScript program, allowing a
    website owner to track where the user has been navigating.

    DETAILS

    Vulnerable systems:
     * Opera version 7.0 under the Windows operating system

    Immune systems:
     * Opera version 7.01 under the Windows operating system

    Opera exposed a little more than a few methods on the history object. It
    also exposes two properties, "next" and "previous". Unlike the methods
    mentioned above, these properties contain actual URLs.

    This means that when a user navigates to a website, the owner can easily
    check and log where the user had last been, and even where he went right
    afterwards (in case the user goes back in history), regardless of whether
    that previous URL referred to the owner's web site or not.

    Notice that "history.previous" is not the same as the "HTTP_REFERER"
    header. It will return the last URL even if it was not the direct referrer
    to the current URL, which makes Opera's "Enable referrer logging"
    configuration option completely pointless.

    Exploit:
    The following code demonstrates how to retrieve these properties:
    alert("Last URL: "+history.previous+".\nNext URL: "+history.next+".");

    Solution:
    GreyMagic hopes that Opera will reconsider these properties and remove
    them from the history object. Until then you may prefer to disable
    JavaScript by going to: File -> Preferences -> Multimedia, and uncheck the
    "Enable JavaScript" item.

    ADDITIONAL INFORMATION

    The original advisory can be found at:
     <http://security.greymagic.com/adv/gm005-op/>
    http://security.greymagic.com/adv/gm005-op/

    The information has been provided by <mailto:security@greymagic.com>
    GreyMagic Software.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



    Relevant Pages

    • Re: What is a generally approved file cleaner for xp?
      ... > and history, but it also allows you to view the index.dat files on your ... > Files and Cookies, MRU-Blaster enhances the protection of your privacy! ... >>> Temporary Internet Files {Including the contents of the Content.IE5 ... >>> Opera Cookies ...
      (microsoft.public.windowsxp.general)
    • Re: ANNOUNCE; Try python beta
      ... without XMLHttpRequest, it'll suggest them. ... I have *no* idea what Opera thinks ... I checked opera's web site, and couldn't find a page for web ... > Try my skills in processing form requests from different Internet browser? ...
      (comp.lang.python)
    • Re: Satyagraha
      ... "Satyagraha" is one prompted by an honest desire to know if there might be any feeling amongst Eastern opera auditors that Ghandi, his spirit and the nationalistic base of his spiritual thought - with which the opera is at least tangentially concerned - has been accurately rendered. ... Whether or not Ghandi's early-life struggle in South Africa has been "accurately rendered" would be difficult enough to unravel if you were writing a history. ...
      (rec.music.classical.recordings)
    • Re: disk cleaner
      ... Internet Cookies ... Internet History ... System Temporary Folder ... Opera Cookies ...
      (microsoft.public.windowsxp.basics)
    • [NT] Sniffing Operas Tracks
      ... Opera recently released a new version of its browser. ... JavaScript code that will track down the user's complete navigating ... * Opera version 7.01 under the Windows operating system ... Returns the error message at index i. ...
      (Securiteam)