-
Notifications
You must be signed in to change notification settings - Fork 44
(fix): Hardware Info Root Sudoers entry was possible to hijack #1529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ArneTR
wants to merge
27
commits into
main
Choose a base branch
from
security-fix-hardware-info-root
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
f34ec4c
(fix): Hardware Info Root Sudoers entry was possible to hijack [skip ci]
ArneTR 7cacfc3
Typo
ArneTR ac23f55
Chaning calls to hardware_info_root also
ArneTR f629e43
Being explicit about python3 path [skip ci]
ArneTR 69cafee
Check now includes directory which must be only writeable by root to …
ArneTR f9dc058
TYpo
ArneTR 7f8da91
Path for hardware_info_root file is now also resolved. just in case e…
ArneTR 8c7905d
Merge branch 'main' into security-fix-hardware-info-root
ArneTR a3ab5c3
Using more modular paths
ArneTR 9fef456
Swapped readlink for realpath which is more resilient and does not ha…
ArneTR 144a8d1
(rewrite): Making check_file_permissions function recursive to check …
ArneTR 1c98c4c
Checking more paths and always using quotes
ArneTR 3f55d5e
(fix): Using old -f option from readlink removed
ArneTR 7de4f6e
Clarified what is added to sudoers file in debug statement
ArneTR d6f72b5
Migrated code to put all important binaries into /usr/local/bin/green…
ArneTR 863a005
(fix): grep needs .
ArneTR a4415b2
Allowing python interpreter to by symlinked
ArneTR 0318137
Removing unused path [skip ci]
ArneTR e9eef11
(fix): GMT variable was wrong name
ArneTR 868f4fc
Delete old unsafe files
ArneTR eb98f3f
Using safer approach with fixed uid and gid
ArneTR c62b2a7
Using safer approach with fixed uid and gid; Do not check group permi…
ArneTR 915fe8e
Disabling path security checks for GItHub actions
ArneTR debe6a2
rm must not fail if not existent
ArneTR b17c27a
(fix): putting correct paths in python calls
ArneTR 9e51d36
Wrong cli arg name
ArneTR a8bfc59
Cleared up old file references
ArneTR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.