Skip to content
XSS Advisory Beginner CVE-2024-47002

Observium vlan html code injection vulnerability

A reflected cross-site scripting vulnerability exists in the VLAN management page of Observium CE 24.4.13528, where the vlan_id parameter is inserted into the HTML without sanitisation. An attacker could craft a malicious link that, when clicked by an authenticated user, injects arbitrary HTML (such as a stylesheet link) into the page.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.7 View original

A html code injection vulnerability exists in the vlan management part of Observium CE 24.4.13528. A specially crafted HTTP request can lead to an arbitrary html code.

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 fails to sanitise the vlan_id parameter before inserting it into the HTML output.

Impact

An attacker could execute arbitrary HTML and script in the context of the victim's browser, potentially leading to data theft or other malicious actions, though the victim must be authenticated and click a link.

What the attacker needed

Victim is authenticated; victim clicks a 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 vlan_id parameter containing HTML code.
  2. The attacker sends this URL to an authenticated user.
  3. The user clicks the link, causing their browser to send the request to the vulnerable page.
  4. The server reflects the unsanitised vlan_id value in the response, executing the injected HTML.

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.

This is a cross-site scripting (XSS) bug. The web page takes a value from the URL (the vlan_id) and puts it directly into the page without cleaning it, so an attacker can make the page show their own HTML code. The victim has to click a link the attacker sends, and they must be logged in.

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.