Skip to content
XSS Advisory Advanced CVE-2023-51633

Centreon sysName Cross-Site Scripting Remote Code Execution Vulnerability

The sysName OID in SNMP is not properly validated, allowing an attacker to inject an arbitrary script. This can lead to remote code execution in the context of the service account.

Andreas Finstad Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Centreon. User interaction is required to exploit this vulnerability.

Andreas Finstad, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the application failed to sanitise or validate the sysName value received via SNMP before using it in a context where script execution is possible.

Impact

An attacker could execute arbitrary code with the privileges of the service account, but user interaction is required.

What the attacker needed

User interaction required; SNMP sysName value is attacker-controlled

The fix

The vulnerability was fixed in Centreon-web versions 22.10.15, 23.04.10 and 23.10.1.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

SNMP is a protocol used to monitor network devices, and the sysName OID is a field that holds a device's name. Centreon did not check what was stored in that field, so an attacker could put a script there. When the application later used that value, the script ran, letting the attacker run their own code on the server.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Andreas Finstad

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.