Remote Code Execution via traversal in TAL expressions (zopefoundation Zope)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.86 % Β· percentile 79 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
Zope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, 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.
Weaknesses (CWE)
- CWE-22 β Improper Limitation of a Pathname to a Restricted Directory
References
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36
- https://github.com/zopefoundation/Zope/commit/1f8456bf1f908ea46012537d52bd7e752a532c91
- http://www.openwall.com/lists/oss-security/2021/05/21/1
- http://www.openwall.com/lists/oss-security/2021/05/22/1
- https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-5pr9-v234-jw36 β Remote Code Execution via traversal in TAL expressions
- GHSA-962m-m8jw-8wrr β Duplicate Advisory: Path Traversal in Zope
- PYSEC-2021-88 β Zope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that
European references
- ENISA EUVD Β· EUVD-2021-0471
- GCVE Β· GCVE-0-2021-32633
Affected configurations (NVD CPE)
cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:*β€ 4.3.20cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:*β₯ 5.0 β€ 5.2.4cpe:2.3:a:zope:zope:*:*:*:*:*:*:*:*< 4.6cpe:2.3:a:zope:zope:*:*:*:*:*:*:*:*β₯ 5.0 < 5.2
Affected products
| Product | Versions |
|---|---|
| zopefoundation Β· Zope | affected < 4.6 ; affected >= 5.0, < 5.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |