Skip to content

Commit 4d3b74d

Browse files
Systemd Insecure PTY Handling Vulnerability
1 parent 4d06e52 commit 4d3b74d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

systemd-run-tty.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@ int main(int argc, char *argv[]) {
239239
return 0;
240240
}
241241

242+
Additionally systemd-run supports a "--pipe" operation which will simply connect the privielged
243+
process to the same-user parent tty directly, this option should be removed entirely as it offers
244+
no protection against the attacks outlined above.
245+
242246
PolicyKit / sudoer Configuration Discrepancy
243247
============================================
244248
It is worth noting that a common misconfiguration can present itself in systemd/policykit Linux

0 commit comments

Comments
 (0)