CentreonApplication

CVE-2022-42427

HIGH · 8.8 CVSS v3.1 Published 2023-03-29
Fix available
A fix is available. Upgrade to 21.10.11 / 22.04.6 or later.
See remediation →
94/100
Remediation priority · Urgent
High EPSS Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
This vulnerability allows remote attackers to escalate privileges on affected installations of Centreon. Authentication is required to exploit this vulnerability. The specific flaw exists within the contact groups configuration page. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to escalate privileges to the level of an administrator. Was ZDI-CAN-18541.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

SQL injection vulnerability in Centreon's contact groups configuration page allows authenticated remote attackers to inject malicious SQL queries via unsanitized user input. Successful exploitation enables privilege escalation to administrator level.

MitigationApply Centreon security patches for CVE-2022-42427; until patched, restrict access to the contact groups configuration page to trusted administrators only and monitor for suspicious SQL-like activity.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
CentreonApplication
Affected:< 21.10.11>= 22.04.0, < 22.04.6

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Centreon version
    Check the Centreon version by viewing the file /usr/share/centreon/.env or accessing Administration > About in the web interface
    Affected if version is below 21.10.11, or between 22.04.0 and 22.04.6 inclusive
  2. Confirm contact groups module access
    Navigate to Configuration > Users > Contact Groups in the Centreon web interface, or check if the contactgroup menu is enabled in the user menu configuration
    Affected if the contact groups configuration page is accessible to the authenticated user
  3. Verify database user privileges
    Check the MySQL/MariaDB user that Centreon uses by reviewing /etc/centreon/conf.php or the database connection configuration; run: SELECT user, host FROM mysql.user WHERE db='centreon';
    Affected if the Centreon database user has elevated privileges that could allow privilege escalation through successful SQL injection
  4. Review Centreon access logs for SQL injection patterns
    Examine web server access logs (typically /var/log/nginx/access.log or /var/log/apache2/access.log) for unusual SQL syntax in requests to contactgroup or contact groups related endpoints
    Affected if log entries show SQL keywords (UNION, SELECT, INSERT, --) in parameters related to contact group configuration requests

user is affected if Centreon version is below 21.10.11 or between 22.04.0 and 22.04.6 AND they have authenticated access to the contact groups configuration page

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 21.10.11 / 22.04.6 or later
Fixed in 21.10.1122.04.6
Interim mitigation

Apply Centreon security patches for CVE-2022-42427; until patched, restrict access to the contact groups configuration page to trusted administrators only and monitor for suspicious SQL-like activity.

Recommended fix High confidence

Centreon 21.10.11 or Centreon 22.04.6 (or latest stable release in your respective branch)

  1. Identify your current Centreon version by checking the 'Administration' > 'Parameters' > 'About' page
  2. If using Centreon 21.10.x (versions < 21.10.11): Upgrade to Centreon 21.10.11 or later stable release
  3. If using Centreon 22.04.x (versions >= 22.04.0 and < 22.04.6): Upgrade to Centreon 22.04.6 or later stable release
  4. After upgrade, verify the contact groups configuration page functions correctly at: Configuration > Users > Contact Groups
  5. Test that SQL injection is no longer possible in the contact groups form fields
Caveat Review Centreon upgrade documentation for your version path as database migrations may be required; test in non-production environment first

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Centreon Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-42427 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-42427 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data