Disabled Avatar/Image Upload to host (CloudFlare security)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NachoVB
    New Member
    • Aug 2011
    • 6
    • 3.8.x

    Disabled Avatar/Image Upload to host (CloudFlare security)?

    Hello, I have CloudFlare to protect my site, it works as a proxy between my host and the internet, so it works as long as nobody knows the server IP, uploading avatars or files compromises this security, I do not need atachments but I want avatars, is there a way/mod so they can use an URL to an external site AND NOT UPLOAD IT TO MY SERVER? I saw and "Enter URL" but it has the option "Or UPLOAD FROM YOUR COMPUTER" and I dont know how to disable that second option only. Also "Enter URL" should not retrive and upload the image, it should just work like the "[ IMG]" BBCode.. or at least i should be able to choose from a restricted list of trusted image upload sites like tinypic,imgurl, etc.

    I searched everywhere for this and I cant believe nobody has this problem, CF (and DDoS) are super popular nowadays and this upload a file makes its 100% USELESS...

    If theres is not way or mod for this funcionality I will be willing to pay someone (Something reasonable ofc) to mod it for me.

    Thanks.
  • NachoVB
    New Member
    • Aug 2011
    • 6
    • 3.8.x

    #2
    Isn't there a more active forum for asking support? I see there is hardly 5 threads a MONTH here...

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 74111

      #3
      There is no security difference from Uploading from a URL or from their own computer. A user can take their exploit image and upload it to tinypic if they so choose to bypass uploading it from their computer. If you're worried about this then you would have to turn off the permission "Can Upload Custom Avatar". They wouldn't be able to add their own avatar at all.

      vBulletin 3.8 isn't actively supported at this time. We try to answer questions as they come up and some basic compatibility development has been performed but the software should be consider end of life for most purposes. Most people have upgraded to more feature rich versions.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • NachoVB
        New Member
        • Aug 2011
        • 6
        • 3.8.x

        #4
        Originally posted by Wayne Luke
        There is no security difference from Uploading from a URL or from their own computer. A user can take their exploit image and upload it to tinypic if they so choose to bypass uploading it from their computer. If you're worried about this then you would have to turn off the permission "Can Upload Custom Avatar". They wouldn't be able to add their own avatar at all.

        vBulletin 3.8 isn't actively supported at this time. We try to answer questions as they come up and some basic compatibility development has been performed but the software should be consider end of life for most purposes. Most people have upgraded to more feature rich versions.
        Its not the picture that is the problem... is the upload process, an attacker sets up some server, uploads from that server to our forum, then checks the connecting IPs and finds OUR FORUMS IP and with that he can bypass CloudFlare and DDoS the site. We want custom avatars, we just don't want to allow UPLOADING to OUR host, It doesn't matter what they link to as long as our machine doesn't do any remote downloads to untrusted sites.

        Does vB5 support this? I Will gladly upgrade if it does, I am only using 3.8 because I see little difference with 5, a lot of options aren't relevant to me, like site builder, etc.

        Comment

        • Paul M
          Former Lead Developer
          vB.Com & vB.Org
          • Sep 2004
          • 9886

          #5
          Originally posted by NachoVB
          Isn't there a more active forum for asking support? I see there is hardly 5 threads a MONTH here...
          Which surely is a good thing, it means everyone is fine and dont need any support.
          Baby, I was born this way

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74111

            #6
            Originally posted by NachoVB

            Its not the picture that is the problem... is the upload process, an attacker sets up some server, uploads from that server to our forum, then checks the connecting IPs and finds OUR FORUMS IP and with that he can bypass CloudFlare and DDoS the site. We want custom avatars, we just don't want to allow UPLOADING to OUR host, It doesn't matter what they link to as long as our machine doesn't do any remote downloads to untrusted sites.

            Does vB5 support this? I Will gladly upgrade if it does, I am only using 3.8 because I see little difference with 5, a lot of options aren't relevant to me, like site builder, etc.
            Whether they upload from a URL or upload from their computer, it uploads to your server. vBulletin does not support remote Avatars in any version. vBulletin doesn't download to any site under any circumstance.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • NachoVB
              New Member
              • Aug 2011
              • 6
              • 3.8.x

              #7
              Originally posted by Wayne Luke

              Whether they upload from a URL or upload from their computer, it uploads to your server. vBulletin does not support remote Avatars in any version. vBulletin doesn't download to any site under any circumstance.
              Is there a way to allow only some trusted URLs to upload from (And of course not from the users PC)? Or a mod? Or at least a way i can do it myself? I can't use avatars in my forum with my reverse proxy (CloudFlare) because of this ONE problem... I can't believe you can't do the same as with signatures and allow them to post a link without also uploading to our host.

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24287
                • 6.0.X

                #8
                Originally posted by NachoVB

                Is there a way to allow only some trusted URLs to upload from (And of course not from the users PC)? Or a mod? Or at least a way i can do it myself? I can't use avatars in my forum with my reverse proxy (CloudFlare) because of this ONE problem... I can't believe you can't do the same as with signatures and allow them to post a link without also uploading to our host.
                There is no way to do this.
                You would be looking at paying a third party coder to achieve it.

                Personally, I just wouldn't bother with Cloudflare. It's almost always more trouble than it's worth.
                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • Paul M
                  Former Lead Developer
                  vB.Com & vB.Org
                  • Sep 2004
                  • 9886

                  #9
                  Even if you did this, you are just deluding yourself if you think people doing any kind of serious DDOS could not find your servers IP. There are always ways.
                  Baby, I was born this way

                  Comment

                  • NachoVB
                    New Member
                    • Aug 2011
                    • 6
                    • 3.8.x

                    #10
                    There is no way to do this.
                    You would be looking at paying a third party coder to achieve it.

                    Personally, I just wouldn't bother with Cloudflare. It's almost always more trouble than it's worth.
                    No, trust me, it works. Maybe I should ask in the modifications forum for this feature? Which version of vB is most supported by mods? On vB.org I see the vB 3 subforum has far, far, FAR more posts (277k vs vB 5.0's 4k...) than 4.0 and specially 5.0, so it seems to be the most popular for modding...

                    Originally posted by Paul M
                    Even if you did this, you are just deluding yourself if you think people doing any kind of serious DDOS could not find your servers IP. There are always ways.
                    Yes i expected someone would say that, they always do. We had attacks 24/7 for years by our competitors, the MOMENT I switched CF (A few months ago) and the attacks stopped dead in their tracks, the other day i disabled CF underattack mode (With prevents attacks via bots on the forum), and a few hours later I was with a "Current active users 28.000+" on my forum ¬¬, CF back on, attack off in minutes. So no, they could'nt find the IP, I only host this forum (A pretty large one with 4 million posts) so it's not like there is an infinite amount of ways to find the IP if you disable mailing, uploading and a few PHP functions its very hard ....

                    Comment

                    • Replicant
                      Senior Member
                      • Sep 2014
                      • 527

                      #11
                      Your answer was on Post #8
                      Originally posted by Mark.B

                      There is no way to do this.
                      You would be looking at paying a third party coder to achieve it.
                      If you need a mod to do something the software isn't designed to do, ask on vbulletin.org.

                      As far as mods go VB3 and VB4 have tons of mods. VB5 has the most security built in. Most VB5 mods are on a per site basis and are custom coded as such.
                      As far as getting your IP address goes, post a link to your site. I'd like to try. .
                      Last edited by Replicant; Thu 16 Jun '16, 7:42pm.


                      Comment

                      • Wayne Luke
                        vBulletin Technical Support Lead
                        • Aug 2000
                        • 74111

                        #12
                        Takes all of 10 seconds to get the IP to his site. However, it does get redirected to Cloudflare when accessed via HTTP. But you can probably saturate his site with it making non-http requests if you actually know what you're doing.

                        If you've been under attack for years, you probably should look into tools like mod_security and other tools to remove the threat permanently. You're hosting provider can also update router rules to kick that off into dead space before it saturates the network. Surprised they haven't complained about your site degrading services if it is that bad.
                        Last edited by Wayne Luke; Fri 17 Jun '16, 9:57am.
                        Translations provided by Google.

                        Wayne Luke
                        The Rabid Badger - a vBulletin Cloud demonstration site.
                        vBulletin 5 API

                        Comment

                        • Paul M
                          Former Lead Developer
                          vB.Com & vB.Org
                          • Sep 2004
                          • 9886

                          #13
                          Originally posted by NachoVB
                          Yes i expected someone would say that, they always do.
                          Because its true.

                          Baby, I was born this way

                          Comment

                          • NachoVB
                            New Member
                            • Aug 2011
                            • 6
                            • 3.8.x

                            #14
                            Sorry I was with some problems this last weeks

                            Originally posted by Wayne Luke
                            Surprised they haven't complained about your site degrading services if it is that bad.
                            Because it's a dedicated server machine all for ourselves... also the 25.000+ "members" online spam only satures vB, I can log to my FTP or SSH....



                            Comment

                            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                            Working...