{"id":"CVE-2021-41238","published":"2021-11-02T18:05:11Z","modified":"2024-08-04T03:08:31Z","title":"Missing Authorization with Default Settings in Dashboard UI","vendor":"HangfireIO","product":"Hangfire","tier":"tail","description":{"text":"Hangfire is an open source system to perform background job processing in a .NET or .NET Core applications. No Windows Service or separate process required. Dashboard UI in Hangfire.Core uses authorization filters to protect it from showing sensitive data to unauthorized users. By default when no custom authorization filters specified, `LocalRequestsOnlyAuthorizationFilter` filter is being used to allow only local requests and prohibit all the remote requests to provide sensible, protected by default settings. However due to the recent changes, in version 1.7.25 no authorization filters are used by default, allowing remote requests to succeed. If you are using `UseHangfireDashboard` method with default `DashboardOptions.Authorization` property value, then your installation is impacted. If any other authorization filter is specified in the `DashboardOptions.Authorization` property, the you are not impacted. Patched versions (1.7.26) are available both on Nuget.org and as a tagged release on the github repo. Default authorization rules now prohibit remote requests by default again by including the `LocalRequestsOnlyAuthorizationFilter` filter to the default settings. Please upgrade to the newest version in order to mitigate the issue. For users who are unable to upgrade it is possible to mitigate the issue by using the `LocalRequestsOnlyAuthorizationFilter` explicitly when configuring the Dashboard UI.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00961,"percentile":0.62386,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HangfireIO/Hangfire/issues/1958","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":12.48},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"hangfireio","affectedVersions":[{"vendor":"HangfireIO","product":"Hangfire","versions":["= 1.7.25"]}],"affected":[{"ecosystem":"NuGet","package":"Hangfire.Core","vulnerableRanges":[">=1.7.25, <1.7.26"],"patched":["1.7.26"],"from":["GHSA-7rq6-7gv8-c37h"],"provenance":"source"}],"summary":{"text":"The Dashboard UI in Hangfire.Core, the open source .NET background job processing library, fails to apply its protective authorization filter by default in version 1.7.25, so it no longer restricts access to local requests as intended. An attacker with network access to an installation that calls UseHangfireDashboard with the default DashboardOptions.Authorization value can reach the dashboard remotely without authenticating or any user interaction, and installations that specify a different authorization filter are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:46Z"},"euvd":{"id":"EUVD-2021-2316","exploited":false,"provenance":"source"}}