Limit access to logviewer endpoints to people with access to the settings section #9361
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.
This fix is a result of a security scan where an issue was discovered: authenticated Umbraco backoffice users without access to the Settings section could use the API endpoint to read Umbraco logs.
The security firm Trustwave published a blog post about this on April 1st, 2021.
In our opinion this post exaggerates the risk. You can not elevate yourself to admin with the logviewer endpoints. This is speculation and depends on people writing dangerous custom code on purpose. That scenario is not unthinkable but highly unlikely.
Details about this issue
About this fix
Dependabot - GitHub security response
Trustwave also created a CVE for this issue. This CVE changed on the 12th of April 2021 to list ALL previous versions of Umbraco to be vulnerable, which is incorrect, the issue only affects v8.0.0-v8.9.1.
Subsequently, GitHub picked up on this CVE. GitHub has a security scanner that analyses any vulnerable software and notifies people that depend on that software to update anything with a security issue. This service is best known as “dependabot”, their account that makes a PR to fix vulnerabilities.
Since the version range was listed incorrectly, everybody depending on any version of Umbraco (<8.10.0) got a notification from GitHub telling them to upgrade.
Security notifications from Umbraco
When we find security issues, we will send out notifications when they are serious enough, you can read up on this in our Trust Center:
From our assessment, this issue was not severe enough to send out notifications.