Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Stop code execution if user is not authenticated - #154

Merged
Duncan McCracken (duncan-mccracken) merged 1 commit into
jamf:masterfrom
sunny0day:patch-2
Sep 27, 2020
Merged

Stop code execution if user is not authenticated#154
Duncan McCracken (duncan-mccracken) merged 1 commit into
jamf:masterfrom
sunny0day:patch-2

Conversation

@sunny0day

Copy link
Copy Markdown
Contributor

Without an exit statement after the 302 response header is set, all code after including this file, will be executed.

This is a major security vulnerability, because one would be able to, for example:

  • Add system users
  • Change the password of existing users
  • Enable/disable SSH
  • Enable/disable the firewall

as an unauthenticated user.

@sunny0day
sunny0day deleted the patch-2 branch September 28, 2020 11:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants