Skip to content

Commit 71fbe42

Browse files
committed
Add intercept and log_subcmds support for execveat(2).
Previously, sudo would always allow execveat(2) in intercept mode to support sudo's own use of fexecve(3) for the "fdexec" setting. Since sudoers is path-based, we must use /proc to resolve the file descriptor in execveat(2) to a path. Credit: - XlabAI Team of Tencent Xuanwu Lab ([email protected]) - Atuin Automated Vulnerability Discovery Engine - Guannan Wang, Zhanpeng Liu, Guancheng Li Also reported by: - Nofil Qasim - Quentin Chalabi
1 parent 5f7712d commit 71fbe42

2 files changed

Lines changed: 192 additions & 50 deletions

File tree

0 commit comments

Comments
 (0)