Ticket #5704 (closed Bug: fixed)
DOS a Plone site using folder default display
| Reported by: | neaj | Owned by: | optilude |
|---|---|---|---|
| Priority: | major | Milestone: | 2.1.4 |
| Component: | Templates/CSS | Keywords: | security |
| Cc: |
Description
A client of mine just found a super-simple way to kill a Plone site:
- create a folder called 'somename',
- create a document in this folder called 'somename',
- select 'somename' as default view of the folder,
- delete the 'somename' document.
Now, if you view .../somename, Zope will spin and eventually take up all CPU. The folder tries to render the default view, which happens to be the same folder which tries to render the default view, which ...
The fix is probably to restrict the default view to parent[view], i.e. no acquisition.
Change History
Note: See
TracTickets for help on using
tickets.
