Observium add_alert_check cross-site scripting (XSS) vulnerability
A reflected cross-site scripting vulnerability exists in the add_alert_check page of Observium CE 24.4.13528. An attacker can inject arbitrary JavaScript code via the entity_type parameter, which executes when an authenticated user clicks a malicious link and then clicks the 'Add Checker' button.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the addalertcheck page of Observium CE 24.4.13528. A specially crafted HTTP request can lead to a arbitrary javascript code execution.
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
The application fails to properly sanitise or encode the entity_type parameter before embedding it into the HTML page, leading to reflected XSS.
Impact
An attacker could execute arbitrary JavaScript in the context of an authenticated user, potentially leading to session hijacking or other malicious actions.
What the attacker needed
Victim is authenticated; victim clicks a malicious link; victim clicks 'Add Checker' button
The fix
The vulnerability was fixed in a vendor patch release.
How it was found
- An attacker crafts a malicious URL containing JavaScript in the entity_type parameter.
- The attacker sends the link to an authenticated user.
- The victim clicks the link, which loads the add_alert_check page with the injected script.
- The victim clicks the 'Add Checker' button to trigger the execution of the injected JavaScript.
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.
Cross-site scripting (XSS) is a type of security flaw where an attacker can trick a website into running their own JavaScript code in another user's browser. Here, the website takes a value from the URL and puts it directly into the page without cleaning it, so an attacker can craft a link that, when clicked by a logged-in user, runs malicious code. This could let the attacker steal session cookies or perform actions as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.