Perl 的 Net::Server 版本(2.018 及更早)在仅设置了 user 而未设置 group 时,在权限降级后会继续保留 root 的组权限。 当 group 未设置时,post_bind 会把它默认为当前进程的组列表。对于从 root 启动的服务器而言,这一列表就是 root 自身的组,因此 gid 的切换会被跳过,只有 uid 发生变化。真实 gid、有效 gid 和保存的 gid 都保持为 0,且起始进程的附加组也被保留。不过文档称 group 默认为 nobody。 在权限降级后运行于服务器中
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 0 ~ 2.018 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC