Free and open-source vulnerability scanner
Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.
Install NowAvailable for macOS, Windows, and Linux
Zope RCE Vulnerability (GHSA-g4gq-j4p2-j8fr)
Information
Severity
Severity
Family
Family
CVSSv2 Base
CVSSv2 Base
CVSSv2 Vector
CVSSv2 Vector
Solution Type
Solution Type
Created
Created
Modified
Modified
Summary
Zope is prone to a remote code execution (RCE) vulnerability via Script (Python) objects under Python 3.
Insight
Insight
The optional add-on package Products.PythonScripts adds Script (Python) to the list of content items a user can add to the Zope object database. Inside these scripts users can write Python code that is executed when rendered through the web. The code environment in these script objects is limited, it relies on the RestrictedPython package to provide a 'safe' subset of Python instructions as well as the AccessControl package that defines security policies for execution in the context of a Zope application. Recently the AccessControl package was updated to fix a remote code execution security issue. The bug tightens the AccessControl security policies for Zope by blocking access to unsafe classes inside the Python string module. You are only affected if the following are true: - You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected) - You run Zope 4 below version 4.6.3 or Zope 5 below version 5.3 - You have installed the optional Products.PythonScripts add-on package By default, you need to have the admin-level Zope 'Manager' role to add or edit Script (Python) objects through the web. Only sites that allow untrusted users to add/edit these scripts through the web are at risk.
Affected Software
Affected Software
Zope version 4.0 through 4.6.2 and 5.0 through 5.2.
Detection Method
Detection Method
Checks if a vulnerable version is present on the target host.
Solution
Solution
Update to version 4.6.3, 5.3 or later.