Prefix symlink race to root
An unprivileged local user changes their own real name without a password, then a symlink race in usermod turns that string into a root-owned write to /etc/passwd.
high
type to search 3 posts
↑↓ move↵ openEsc close
archive
An unprivileged local user changes their own real name without a password, then a symlink race in usermod turns that string into a root-owned write to /etc/passwd.
An unprivileged user can put LD_PRELOAD in ~/.pam_environment and after one ordinary login, any process of that user can execute code as root.
A field guide to the Markdown, render hooks and shortcodes this theme provides, rendered with real examples. It doubles as the theme's visual test page.