Skip to content
XSS Advisory Beginner CVE-2024-45061

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.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.7 View original

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.

Marcin 'Icewall' Noga, on Cisco Talos

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

  1. An attacker crafts a URL with a malicious value in the 'mapname' parameter.
  2. The attacker sends the link to an authenticated user.
  3. The user clicks the link, causing the browser to send a request to the weathermap.php endpoint.
  4. The server reflects the malicious value into the HTML form action attribute.
  5. 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.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

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.