• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Via message passing, extensions let web applications get access to sensitive pr

    Opera for computers
    extensions addons message passing communications with webpages
    4
    19
    6715
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • doliere
      doliere last edited by doliere

      I reported some extensions posing some security problems, but I could no more track my bug, so I am re-reporting here agains.

      Description
      Via message passing, extensions can let scripts running in webpages get access to sensitive APIs, such as executing code in the context of the extension, making XMLHttpRequest from the context of the extension and getting the response back, storing data in the context of the extension and retrieving it back later on or triggering the download of arbitrary files on the user computer

      Steps to reproduce: Let consider the https://addons.opera.com/en/extensions/details/smaily-dlia-odnoklasnikov/ extension

      1. Install it

      2. Navigate to https://ok.ru for instance and open the browser console.

      3. Send the appropriate message (JavaScript code) to the extension background page

        chrome.runtime.sendMessage("pmpnemphhmmpkcafgpdjanghiaadfbef", {
        			action: "getRemote",
        			url: "https://mail.google.com",
        			blob: null, // Or with data
        		}, function(response){
            console.log("DATA", response);
        });
        
      4. If you are logged into your gmail account, the extension reads your emails and displays them in the console. You can replace https://mail.google.com by any URL, the extension will fetch its content and return it back

      I have more extensions (around 10) of them, but I cannot upload files.

      What should have happened
      We think that extensions review process should take into consideration the possibility that extensions let web applications access their privileges APIs. This is a violation of privilege separation between extensions and web applications, and have tremendous consequences: SOP bypass, the execution of arbitrary codes in the context of the extension, access to user cookies, browsing history, access to extensions storage, triggering of downloads, etc.

      Reply Quote 0
        doliere 1 Reply Last reply
      • doliere
        doliere @doliere last edited by

        Could anyone comment on this issue please ?

        Reply Quote 0
          1 Reply Last reply
        • sgunhouse
          sgunhouse Moderator Volunteer last edited by

          If you reported it, you should have been assigned a bug report number. If you post that number, I can look it up. Otherwise, no.

          Reply Quote 0
            doliere 1 Reply Last reply
          • doliere
            doliere @sgunhouse last edited by

            @sgunhouse Ok that's a pity, because I do not have a bug number.
            May I post it again ?

            Reply Quote 0
              leocg 1 Reply Last reply
            • leocg
              leocg Moderator Volunteer @doliere last edited by

              How did you report those extensions?

              Reply Quote 0
                doliere 1 Reply Last reply
              • doliere
                doliere @leocg last edited by

                @leocg Via the bug report wizard - https://bugs.opera.com/wizard/
                I would have saved the bug number, but unfortunately, I did not

                Reply Quote 0
                  leocg 1 Reply Last reply
                • leocg
                  leocg Moderator Volunteer @doliere last edited by

                  Didn't you get an email message with it?

                  Reply Quote 0
                    doliere 1 Reply Last reply
                  • doliere
                    doliere @leocg last edited by

                    @leocg No I did not.
                    I checked my mails

                    Reply Quote 0
                      leocg 1 Reply Last reply
                    • leocg
                      leocg Moderator Volunteer @doliere last edited by

                      And did you provide one when you made the report?

                      Do you remember the title or any detail of the report?

                      Reply Quote 0
                        doliere 1 Reply Last reply
                      • doliere
                        doliere @leocg last edited by

                        @leocg No I did not !
                        I do not remember the exact title of the report, but it is related to extensions that can be exploited by web pages via message passing to get access to privileged extensions API.
                        So maybe
                        "Exploiting extensions capabilities via message passing"

                        OR

                        "Extensions that let scripts in webpages post messages to the extensions in order to bypass SOP, execute arbitrary code in the context of the extension, trigger downloads, read and write extensions storage"

                        OR

                        "Via message passing, extensions let web applications get access to sensitive privileged capabilities"

                        Reply Quote 0
                          leocg 1 Reply Last reply
                        • leocg
                          leocg Moderator Volunteer @doliere last edited by

                          So that's why you didn't get a confirmation message with the bug id.

                          Reply Quote 0
                            doliere 1 Reply Last reply
                          • doliere
                            doliere @leocg last edited by

                            @leocg Ok I see
                            What to do now ?

                            Reply Quote 0
                              leocg 1 Reply Last reply
                            • leocg
                              leocg Moderator Volunteer @doliere last edited by

                              Nothing. By the way, it seems that the extension you mentioned in the first post was removed.

                              Reply Quote 0
                                doliere 1 Reply Last reply
                              • doliere
                                doliere @leocg last edited by

                                @leocg Yes it has been removed. But I have some more to report, can I do it here ?

                                Reply Quote 0
                                  leocg 1 Reply Last reply
                                • leocg
                                  leocg Moderator Volunteer @doliere last edited by

                                  You can post here in the forums for reference but it would be better to use https://security.opera.com/report-security-issue/

                                  Choose web service or website and mention addons.opera.com

                                  Reply Quote 0
                                    doliere 2 Replies Last reply
                                  • doliere
                                    doliere @leocg last edited by

                                    @leocg Ok thanks. I found that most of the extensions I reported have been removed. But I reported some other 4 that are still on the Opera addons page. Thanks for your highly useful help

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • doliere
                                      doliere @leocg last edited by

                                      @leocg Do you think that Opera should do something, during extensions review process, in order to remove extensions that can be exploited via message passing ?

                                      Reply Quote 0
                                        tnowak 1 Reply Last reply
                                      • tnowak
                                        tnowak Opera @doliere last edited by

                                        @doliere Currently the best way to report problems with extensions is through their respective pages.
                                        There's a "Reported issues" button on each.

                                        For general issues and ideas please use https://security.opera.com/report-security-issue/ --> "Web Service or website" --> "addons.opera.com".

                                        Thanks for reporting these!

                                        Reply Quote 0
                                          doliere 1 Reply Last reply
                                        • doliere
                                          doliere @tnowak last edited by

                                          @tnowak This issue has been addressed ! I note your comment for future reports

                                          Reply Quote 1
                                            1 Reply Last reply
                                          • First post
                                            Last post

                                          Computer browsers

                                          • Opera for Windows
                                          • Opera for Mac
                                          • Opera for Linux
                                          • Opera beta version
                                          • Opera USB

                                          Mobile browsers

                                          • Opera for Android
                                          • Opera Mini
                                          • Opera Touch
                                          • Opera for basic phones

                                          • Add-ons
                                          • Opera account
                                          • Wallpapers
                                          • Opera Ads

                                          • Help & support
                                          • Opera blogs
                                          • Opera forums
                                          • Dev.Opera

                                          • Security
                                          • Privacy
                                          • Cookies Policy
                                          • EULA
                                          • Terms of Service

                                          • About Opera
                                          • Press info
                                          • Jobs
                                          • Investors
                                          • Become a partner
                                          • Contact us

                                          Follow Opera

                                          • Opera - Facebook
                                          • Opera - Twitter
                                          • Opera - YouTube
                                          • Opera - LinkedIn
                                          • Opera - Instagram

                                          © Opera Software 1995-