CVE-2021-41238
Last modified
CVE-2021-41238 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.92% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hangfire | Hangfire | 1.7.25 |
References
- https://github.com/HangfireIO/Hangfire/issues/1958Third Party Advisory
- https://github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37hThird Party Advisory
- https://github.com/HangfireIO/Hangfire/issues/1958Third Party Advisory
- https://github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37hThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41238?
How severe is CVE-2021-41238?
How do I fix CVE-2021-41238?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-4123livehelperchat is vulnerable to Cross-Site Request Forgery (…6.5
- CVE-2021-41230Pomerium is an open source identity-aware access proxy. In a…8.8
- CVE-2021-41231OpenMage LTS is an e-commerce platform. Prior to versions 19…7.2
- CVE-2021-41232Thunderdome is an open source agile planning poker tool in t…9.8
- CVE-2021-41233Nextcloud text is a collaborative document editing using Mar…5.3
- CVE-2021-41236OroPlatform is a PHP Business Application Platform. In affec…4.8
- CVE-2021-41239Nextcloud server is a self hosted system designed to provide…5.3
- CVE-2021-4124janus-gateway is vulnerable to Improper Neutralization of In…6.1
- CVE-2021-41241Nextcloud server is a self hosted system designed to provide…4.3
- CVE-2021-41242OpenOlat is a web-basedlearning management system. A path tr…8.1
- CVE-2021-41243There is a Potential Zip Slip Vulnerability and OS Command I…8.8
- CVE-2021-41244Grafana is an open-source platform for monitoring and observ…7.2
Are you affected by CVE-2021-41238?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
