Bug 49043 - univention-novnc runs as root
univention-novnc runs as root
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-19 17:48 CET by Philipp Hahn
Modified: 2023-06-28 10:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Security Issue
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score: 0.0 (CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:N)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-03-19 17:48:09 CET
/etc/init.d/univention-novnc:49
> start-stop-daemon --start ... --user novnc ...

is only a *check*, so `websockify` runs as user 'root';
`--chuid` is the right option to use.

Our version of noVNC is quiet old and contains at least one known security vulnerability (Bug #35428: CVE-2013-7436). My current reading is that it cannot be used to get access to the host system.
Nevertheless the network facing daemon should not run as user 'root'.

UCS technical training 2019-03-21/22
Comment 1 Philipp Hahn univentionstaff 2023-06-28 10:44:08 CEST
UVMM and virtualization with UCS is deprecated and will no longer be developed in UCS 4.4; they have already been removed from UCS 5.0.