There are 2 updates.
 
 
Xinit / cid:jira-generated-image-avatar-6a05318f-2260-4422-a7f8-0cebeb1d4f64 XINIT-30 Open

Provide tested systemd hardening levels for the XWiki service

 
View issue   ·   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-b52a7259-6cea-4446-b2fa-16f654f88201 Changes by Clément Christiaens on 04/Nov/26 22:01
 
Description: The units that run XWiki ({{tomcatN.service}}, {{xwiki.service}}) only use a few systemd sandboxing options. A script or a vulnerable extension running inside XWiki can therefore read most of the system, open any socket and run any program.

Let xinit write a hardening drop-in for the servlet unit at a chosen level, and test each level per installation type: its {{systemd-analyze security}} score, a functional suite (XWiki still works) and an attack suite (what code running inside XWiki can no longer do). The strictest level only allows running the JVM, which needs XWiki to be started with {{java}} directly rather than through the packages' shell scripts.


Analysis and plan: [https://github.com/ciaens/xinit/blob/claude/sleepy-pasteur-57a86v/docs/phases/phase-5-security.md].
Assignee: Clément Christiaens