New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox tinyproxy #3800

Open
DemiMarie opened this Issue Apr 8, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@DemiMarie

Qubes OS version:

R4.0

Affected component(s):

Tinyproxy and its various uses throughout Qubes


Steps to reproduce the behavior:

Analyze how tinyproxy is started

Expected behavior:

Tinyproxy should run in a tightly confined sandbox, enforced with seccomp-bpf, a chroot and/or namespaces, and more. The playpen tool (either https://github.com/thestinger/playpen, or my more recent fork at https://github.com/DemiMarie/playpen) can provide some examples for how to do that, or systemd’s built-in support can be used.

Actual behavior:

Tinyproxy runs unsandboxed, or as an unprivileged user but not otherwise sandboxed.

General notes:

Systemd can do most of this. We can also blacklist (using iptables or (better) nftables rules) the tinyproxy user


Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment