Fork me on GitHub

Zikula (1.1.1-dev) upgrade  Bottom

  • I am running Zikula (1.1.1-dev) and need to upgrade to 1.1.2 How should I complete the upgrade? I already backed up the files and database. Simply copy the files to my web server? I could not find an upgrade patch if there is one for the rev I am running. I got hacked today. My web host provider says there is an exploit that changed my index.php file. I have the web site back up by replacing index.php but need to upgrade and shut the door, assuming the upgrade fixes the problem.
    Thanks,
    Joe...........
  • first, if you do determine that Zikula or any third party module was at fault for the exploit, please report it immediately to the team here so it can be investigated and corrected. (larsneo is the resident security expert)

    second, most exploits are not a result of Zikula but password problems (i'm not a security person, but others tell me so). So CHANGE YOUR PASSWORDS immediately. Your sysadmin should be able to review their server logs and deduce how the hacker got in.

    I had a defacement hack take over my site about a year ago. lost all my files, but the database was in tact. The problem was not Zikula (PostNuke at the time), but that the hacker had figured out my password and used it to hack my site.

    third, you apparently used a -dev version of the product in a production environment. please know this is VERY STRONGLY DISCOURAGED. icon_biggrin

    fourth, since you were using an incomplete version of 1.1.1, I suggest you delete all the files (except config.php and third-party modules) and replace them all with 1.1.2 files. The 'upgrade' process from 111>112, was simply a file replacement, but using just the official 'patch' might miss a few files that would have changed from 111-dev>111(official). SO, I recommend replacing ALL the files. There were no database changes in that upgrade

    fifth - be sure to upgrade all the modules to the latest versions also.

    craig
  • Check your module versions too, an outdated extension seems to be the problem to me.
    -dev versions are not discouraging if you're testing, but once the official release is out, have to update the files icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • I have multiple sites running and not all are getting hit. One is a very new install of the latest Zikula. I took a look at all the modules active on the site getting hit but I could find no easy source to tell me what rev each module should be running so I pulled up the site I just installed with 1.1.2 and did a side by side look at all modules and the rev. I deactivated all modules that looked to be running outdated revs yesterday and this morning I was hit again so it is not one of the modules. I have two other admin for the affected site and have asked them to change PW.

    So to upgrade to 1.1.2 from where I am simply delete the old files from the server and replace with the 1.1.2 files?
    That sounds easy enough. I have a full database backup complete plus all the current files.

    Joe.............
  • Quote

    I have two other admin for the affected site and have asked them to change PW.

    to be clear, I was referring to you ftp/shell/cpanel password, not your zikula password, although, you should probably change all of them.

    Quote

    So to upgrade to 1.1.2 from where I am simply delete the old files from the server and replace with the 1.1.2 files?
    Yes, I believe that will work in your case. I would regenerate your module list and check for new modules versions when complete to be sure.

    As always, keep backups of everything so you can revert if something fails.

    The whole thing still sounds like a root (non-zikula) problem to me. be sure to work with your host and look through their logs to see if you can figure out what is happening.
  • The upgrade to Zikula worked but now all my news articles are missing and the forum is broke icon_confused I'll start different threads to deal with those issues.
    Joe..........
  • you'll likely need to upgrade both those modules. I suggest intalling the latest version of each.
  • I did upgrade the news module and PNphpBB2 to the latest rev.
    Joe..........
  • OK this is getting very frustrating. The site is getting hacked multiple times a day. The index.php file gets modified. I fix the site by uploading the index.php file overwriting the hacked one. Passwords have been changed. I guess it is time to start digging through raw access logs.
    Joe.............
  • craigh

    Your sysadmin should be able to review their server logs and deduce how the hacker got in.

    JoeMcLaughlin

    I guess it is time to start digging through raw access logs.


    you probably should have started there. do you have a sysadmin or host? are you hosting for yourself?

    again, make sure you change your ftp/shell/cpanel password - your zikula password won't matter much in this case. if you deleted all the files on your site and replaced them, then it seems logical that they have your password.
  • This is an old thread. I ended up rolling the site back from backup to restore everything. This site is still running 1.1.1-dev I need to upgrade it. Is 1.2.3 compatible with PNphpBB2?
    Joe...........
  • Yes. I'm running pnphpbb2 under 1.2.3, though I have a lot of hacks... I'm certain it works normally. You will need to upgrade to the latest SVN version because it has bug fixes for datetimebrief (and prolly others) that are needed for 1.2.3.
  • I created a test site with copies of everything then performed the upgrade. Everything looks to be working but I do see the Posted: datetimebrief problem.
    Joe............

This list is based on users active over the last 60 minutes.