CVE-2021-32674High· 8.8▾ TwilightRemote Code Execution via traversal in TAL expressions
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 48.4 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.6%
1.6% → 1.6%
This advisory extends the previous advisory at https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36 with additional cases of TAL expression traversal vulnerabilities.
Most Python modules are not available for using in TAL expressions that you can add through-the-web, for example in Zope Page Templates. This restriction avoids file system access, for example via the 'os' module. But some of the untrusted modules are available indirectly through Python modules that are available for direct use.
By default, you need to have the Manager role to add or edit Zope Page Templates through the web. Only sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk.
The problem has been fixed in Zope 5.21 and 4.6.1.
The workaround is the same as for https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36: A site administrator can restrict adding/editing Zope Page Templates through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing Zope Page Templates through the web should be restricted to trusted users only.
If you have any questions or comments about this advisory:
zope >= 5.0, < 5.2.1zope < 4.6.1Upgrade to a patched release:
zope 5.2.1zope 4.6.1Connected by shared product, vendor, weakness, or advisory.
CVE-2021-32633Medium· 6.8Remote Code Execution via traversal in TAL expressions
CVE-2023-44389Low· 3.1Zope management interface vulnerable to stored cross site scripting via the title property
CVE-2021-32811High· 7.5Remote Code Execution via Script (Python) objects under Python 3
CVE-2023-42458Low· 3.7Zope vulnerable to Stored Cross Site Scripting with SVG images
CVE-2011-4924Medium· 6.1Zope XSS Vulnerability
CVE-2002-0170HighZope does not properly verify the access for objects with proxy roles