• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Horde patch

E

evilrabbi

Guest
The version of horde that is shipped with plesk is vulnerable to remote execution in the help module. This can lead to unauthorized people having access to your server. I'm sure swsoft will issue a patch, but untill then you can use the patch I wrote.

Add the following lines of code to the index.php file located in
/usr/share/psa-horde/services/help.

add it after

$topic = Util::getFormData('topic');

and before

if ($module == 'admin') {

After a patch is issued by plesk remove the code then update.

$good_module = $module;
$bad_chars = array
(
"';'",
"'\''",
);
$replace = array
(
" "
);
$good_module = preg_replace ($search, $replace, $good_module);

$module = $good_module;

cheers,
evilrabbi < evilrabbi <at> gmail [dot] com>
 
The above code didn't exactly work with me.
I changed it to this, which worked: (I did a few tests to make sure it did.)

Code:
$good_module = $module;
$bad_chars = array("';'","''",);
$replace = array(" ");
$good_module = preg_replace ($bad_chars, $replace, $good_module);
 
Back
Top