Observium mapname cross-site scripting (XSS) vulnerability
A reflected cross-site scripting vulnerability exists in the weather map editor of Observium CE 24.4.13528. An attacker can craft a link that, when clicked by an authenticated user, executes arbitrary JavaScript in the user's browser.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the weather map editor functionality 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 reflects the 'mapname' parameter into the HTML form action attribute without proper encoding or sanitisation.
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
The fix
The vulnerability was fixed in a vendor patch release.
How it was found
- An attacker crafts a URL with a malicious value in the 'mapname' parameter.
- The attacker sends the link to an authenticated user.
- The user clicks the link, causing the browser to send a request to the weathermap.php endpoint.
- The server reflects the malicious value into the HTML form action attribute.
- The injected JavaScript executes in the context of the authenticated user.
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 flaw where a website inserts user-supplied text into its pages without making it safe, so an attacker can slip in JavaScript code. Here, the 'mapname' parameter in the weather map editor is placed directly into the page, so a crafted link runs the attacker's script when an authenticated user clicks it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.