Joshua Rogers’ Scribbles personal blog

root with a single command: sudo logrotate

Starting from the constraint that only sudo logrotate * may be run, and ending at root: abusing the log file flag to overwrite root owned scripts and ride cron to privilege escalation.
Points
123
HN comments
47
Submissions
1
Cited by
0 commenters

Security & PrivacyInfrastructure & DevOps2023

On Hacker News

SubmittedTitle on HNPointsComments
Oct 3, 2023root with a single command: sudo logrotate by skilled12347

More from Joshua Rogers’ Scribbles

All 5 posts →

Related posts from the same era