Access Restriction Bypass Affecting mediabrowser.server.core package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-MEDIABROWSERSERVERCORE-1583741
  • published9 Sept 2021
  • disclosed9 Sept 2021
  • credit@JarLob (Jaroslav Lobačevski)

Introduced: 9 Sep 2021

CVE-2021-32833  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

There is no fixed version for MediaBrowser.Server.Core.

Overview

MediaBrowser.Server.Core is a package that contains core components required to build plugins for Emby Server.

Affected versions of this package are vulnerable to Access Restriction Bypass. In Emby Server on Windows there are two arbitrary file read vulnerabilities.

The first is via /Videos/Id/hls/PlaylistId/SegmentId.SegmentContainer. It is possible to set the {SegmentId}.{SegmentContainer} part of the route to an absolute path using the Windows path separator \ (%5C when URL encoded). The PlaylistId doesn’t matter, but a prerequisite is a knowledge of the Id - a GUID of an existing media file. The Id can be leaked by any authenticated user as it is exposed in server responses.

Additionally, both the /Images/Ratings/{theme}/{name} and /Images/MediaInfo/{theme}/{name} routes allow unauthenticated arbitrary image file read on Windows. It is possible to set the {theme} or {name} part of the route to a relative or absolute path using the Windows path separator ``` (%5C when URL encoded). The route automatically appends the following allowed extensions, so it is only possible to read image files: .png, .jpg, .jpeg, .tbn, .gif.

References

CVSS Base Scores

version 3.1