GHSA-r82h-mqw3-fc56
plone.app.event vulnerable to denial of service via iCalendar import
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | plone.app.event | < 5.2.4 | 5.2.4 |
| PyPI | plone.app.event | >= 6.0.0a1, < 6.0.1 | 6.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
By abusing the iCalendar import functionality, a logged-in editor could take the whole site offline, make the server reach into the internal network and read calendar files off disk (SSRF), and store XSS.
### Patches
The problem has been patched in `plone.app.event`.
* For Plone 6.2: upgrade to `plone.app.event` 6.0.1
* For Plone 6.1: upgrade to `plone.app.event` 5.2.4
* For Plone 6.0: upgrade to `plone.app.event` 5.2.4
### Workarounds
In the site root, go to the Security tab of the Zope Management Interface (`manage_access`), look for the "plone.app.event: Import Ical" permission, and grant this only to the Manager role. Then only users with the Manager role can use the ical import form.
There is no workaround for the stored XSS in the URL field of events.
The vulnerabilities were discovered by Timothy Dudley and responsibly reported to the [Plone Security Team](mailto:[email protected]). Thank you!
References
External links from the advisory. They lead to third-party sites.
- https://github.com/plone/plone.app.event/security/advisories/GHSA-r82h-mqw3-fc56
- https://github.com/plone/plone.app.event/commit/1e3c83c15a24d1a789cdb012593505bc5620e28e
- https://github.com/plone/plone.app.event/commit/4de5eb3ea9e4f7f1781622e6d64fc086629d1437
- https://github.com/plone/plone.app.event
- https://github.com/plone/plone.app.event/releases/tag/5.2.4
- https://github.com/plone/plone.app.event/releases/tag/6.0.1