CVE-2018-6874:CSRF vulnerability in the Auth0 authentication service through build 14591 when the Legacy Lock API flag is enabled (CVE-2018-6874).

splash
Back

Description Preview

The CVE identifies a cross-site request forgery (CSRF) flaw in Auth0’s authentication service that exists when the Legacy Lock API flag is enabled. This vulnerability affects tenants that have the Legacy Lock API flag turned on and could allow an attacker to perform unwanted actions on behalf of an authenticated user. The issue is tied to the Legacy Lock API path and was disclosed in early 2018, with remediation dependent on disabling or updating away from the Legacy Lock API usage.

Overview

The vulnerability described in CVE-2018-6874 is a CSRF flaw in Auth0’s authentication service that occurs if the Legacy Lock API flag is enabled, affecting configurations that rely on that legacy API path up to the referenced build. The assessment notes no specific product version beyond the Legacy Lock API flag context, and the risk centers on the combination of the legacy API usage and CSRF exposure.

Remediation

  • Immediately disable the Legacy Lock API flag in the Auth0 tenant settings, and migrate away from the Legacy Lock API to the current standard authentication APIs (e.g., modern Lock/Auth0.js or newer authentication flows).
  • Update applications to no longer rely on the Legacy Lock API. Replace legacy Lock usage with supported libraries and authentication methods, then retest login and session handling.
  • After disabling legacy functionality, review and test the login flow for CSRF resilience, ensuring same-site cookies and proper anti-CSRF protections where applicable in your own app.
  • If you cannot disable the Legacy Lock API flag promptly, implement compensating controls in your application (e.g., robust CSRF tokens and strict referer checks) and plan a timely migration, while documenting the risk and mitigation status.
  • Maintain and verify that all components are updated to supported versions and monitor for any further security advisories from Auth0.

References

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services: Low
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services: Low
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting: Low
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation: Low
    Arts, Entertainment & Recreation
  5. Construction: Low
    Construction
  6. Educational Services: Low
    Educational Services
  7. Finance and Insurance: Low
    Finance and Insurance
  8. Health Care & Social Assistance: Low
    Health Care & Social Assistance
  9. Information: Low
    Information
  10. Management of Companies & Enterprises: Low
    Management of Companies & Enterprises
  11. Manufacturing: Low
    Manufacturing
  12. Mining: Low
    Mining
  13. Other Services (except Public Administration): Low
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services: Low
    Professional, Scientific, & Technical Services
  15. Public Administration: Low
    Public Administration
  16. Real Estate Rental & Leasing: Low
    Real Estate Rental & Leasing
  17. Retail Trade: Low
    Retail Trade
  18. Transportation & Warehousing: Low
    Transportation & Warehousing
  19. Utilities: Low
    Utilities
  20. Wholesale Trade: Low
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background