Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
3.1
-
security, pr leak
-
Unknown
-
Description
Currently, Main.Activity (provided in the default XAR) has to be stored with PR.
Since the user messages are rendered as-is, we can inject XWiki markup to include another page in the same context as follows:
1. Log in as an unprivileged user with write access to Some.Document
2. post this user message:
{{/html}} {{include context="current" document="Some.Document"/}} {{html}}
3. put some groovy code does something nasty into Some.Document and view Main.Activity
Attachments
Issue Links
- depends on
-
XWIKI-7879 Refactor to confine delegation of programming rights.
- In Progress
- is related to
-
XWIKI-6720 XSS possible in the Activity stream trough User Statuses and User Messages
- Closed
- relates to
-
XWIKI-7894 Protect against {{/html}} injection
- Closed