CVE-2021-28055:Predictable anti-CSRF token generation in Centreon-Web allows potential CSRF attacks to add admin users.

splash
Back

Description Preview

A vulnerability was discovered in Centreon-Web component of Centreon Platform 20.10.0 where the anti-CSRF token generation mechanism is predictable. This predictability undermines the security purpose of these tokens, potentially allowing attackers to conduct Cross-Site Request Forgery (CSRF) attacks. The most critical impact is that attackers could exploit this vulnerability to add unauthorized administrator users to the system, effectively gaining administrative control over the Centreon Platform.

Overview

This vulnerability (CVE-2021-28055) is classified as CWE-330 (Use of Insufficiently Random Values), affecting the Centreon Platform 20.10.0. The security issue lies in the predictable generation of anti-CSRF tokens, which are meant to protect against Cross-Site Request Forgery attacks. When these tokens can be predicted, attackers can craft malicious requests that bypass this protection mechanism. In this specific case, an attacker could potentially execute actions on behalf of authenticated users, including the critical operation of adding new administrator accounts to the system. This vulnerability poses a significant security risk as it could lead to complete compromise of the Centreon monitoring system.

Remediation

Organizations using Centreon Platform 20.10.0 should take the following actions:

  1. Update to the latest version of Centreon Platform that contains the fix for this vulnerability.
  2. Review the GitHub pull request #9612 which addresses this issue to understand the changes made.
  3. Audit user accounts, especially administrator accounts, for any unauthorized additions.
  4. Implement additional security controls such as IP restrictions for administrative access if possible.
  5. Monitor logs for suspicious activities, particularly around user creation events.
  6. Consider implementing additional authentication factors for administrative actions.

References

  1. GitHub Pull Request with Fix: https://github.com/centreon/centreon/pull/9612
  2. CWE-330: Use of Insufficiently Random Values - https://cwe.mitre.org/data/definitions/330.html
  3. OWASP CSRF Prevention Cheat Sheet - https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html

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

Focus on What Matters

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

Let's talk!

background