Skip to content
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

fix: logfiles directory traversal and authentication #1764

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

tkurki
Copy link
Member

@tkurki tkurki commented Jun 25, 2024

The logfiles endpoint was missing admin authentication and allowed directory traversal.

Sanitize log file names to prevent directory traversal.
The skServer/logfiles was not protected by admin authentication
as a result of an earlier server API paths reorganisation. This
fix adds authentication to the correct path so that log files
are now protected.
@tkurki tkurki added the fix label Jun 25, 2024
@tkurki tkurki merged commit 67ab790 into master Jun 25, 2024
5 checks passed
@tkurki tkurki deleted the fix-security-logfiles branch June 25, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant