This repository was archived by the owner on Dec 18, 2019. It is now read-only.
CVE-2018-4407 PoC docs: Advice to use linux capabilities instead of running with full root privileges#3
Merged
Merged
Conversation
…running with full root privileges
Contributor
|
Thanks! |
|
Hi @altmas5 and thanks again for this contribution! Owing to an oversight on our part, the Semmle CLA had not been added to this repository at the time of your contribution. So that we can keep your contribution, we would appreciate it if you could sign our CLA, here https://cla.semmle.com/Semmle/SecurityExploits?pullRequest=3 Thanks again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a small advice at the end of README for giving the
CAP_NET_RAWcapability required for opening a raw socket instead of running the binaries with sudo (temporary root privileges).Once the capability is granted any user can run
direct_attackorcrash_allwith their privileges.Let's break up with the root model :)