SOLVED Zimbra 8.6 HTTP ERROR 404 Problem accessing /public/error.jsp. Reason: /public/error.jsp Rumi, May 10, 2019 Do a quick search under the usual jetty folders: find /opt/zimbra/jetty/ -type f -name *jsp -mtime -30 If you find files like: /opt/zimbra/jetty/webapps/zimbra/js/zimbra/csfe/XZimbra.jsp /opt/zimbra/jetty/webapps/zimbra/public/Ajax.jsp you’re actually hacked. Unlike the previous “zmcat” and “dblaunchs” that actually exploit the vuln and load some sh*t this looks like a bad childish attack. It seems that they delete some files under jetty dir, don’t know why. The attack vector is the same, but, there are no strange processes, there is no persistence. To clean: Get the package of your version. In our case was an unpatched 8.6 Extract the package, find the store rpm or deb. In our case was zcs-NETWORK-8.6.0_GA_1153.UBUNTU14_64.20141215151218/packages/zimbra-store_8.6.0.GA.1153.UBUNTU14.64_amd64.deb Get into the rpm or the package (midnight commander allows browsing deb & rpm) and navigate to the correspondent jetty/webapps/zimbra/public folder Replace the old public folder with the public folder from the package Patch immediately. You modified some files that will be patched so, if you installed some patch before, use ./installPatch.sh –force, to avoid zimbra version control Here’s the patch file download link: https://www.zimbra.com/downloads/zimbra-%20collaboration/ Install the Patch Note: This patch should be installed on all nodes running in your environment. 1. Before you begin, confirm you have the following: Zimbra Collaboration 8.6.0 GA installed Zimbra Collaboration 8.6.0 Patch8 TGZ file 2. Copy the patch.tgz file(s) to your server. 3. Install Zimbra Collaboration 8.6.0 Patch8 a. Log in as root and cd to the directory where the tar file is saved. Type tar xzf zcs-patch-8.6.0_GA_XXX.tgz cd zcs-patch-8.6.0_GA_XX b. As root, install the patch. Type ./installPatch.sh c. Switch to user zimbra su – zimbra d. ZCS must be restarted to changes to take effect. Type zmcontrol restart Note: For users who have the web-client open and are running the FOSS edition, the refresh notice mightstate that you have changed to the NETWORK Edition; however, your feature set will remain FOSS only. Src: https://wiki.zimbra.com/wiki/Zimbra_Releases/8.6_Patch_8 https://forums.zimbra.org/viewtopic.php?t=66077 Related Administrations Configurations (Linux) UbuntuUbuntu 16zimbra
Convert squid timestamps July 27, 2017 When you work with a squid access log file you sometimes want to know when a site or resource was accessed. Squid does not store the date and time information for that in a human readable format. It is stored as <unix timestamp>.<centisecond> so you can use a command like… Read More
Install PHP 7 on CentOS 7 May 24, 2020 Enabling Remi repository PHP 7.x packages are available in several different repositories. We’ll use the Remi repository which provides newer versions of various software packages including PHP. The Remi repository depends on the EPEL repository. Run the following commands to enable both EPEL and Remi repositories: sudo yum install epel-release yum-utils sudo yum… Read More
Connect to Softether VPN from iPhone and Android March 13, 2020 Phone and Android has a built-in VPN client but originally they need Cisco, Juniper or other expensive hardware-based VPNs for remote-access. SoftEther VPN has a same function to Cisco, and supports iPhone and Android easily. Related Read More