Skip to content
XSS Write-up Intermediate

SNMP Joins Dark Side in New XSS Attack

The author found during a penetration test that a crafted SNMP string could lead to cross-site scripting and SQL injection on a 1U device. An attacker could potentially use this to run scripts or manipulate database queries.

sensepost.com

Published on sensepost.com

s yet another new spin on a pervasive attack — this time using the old standby Simple Network Management Protocol (SNMP) to stage cross-site scripting (XSS) attacks. -snip-

The author, on sensepost.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could potentially execute scripts in a victim's browser or run SQL injection attacks against the device.

What the attacker needed

Access to set SNMP strings; a 1U device

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 write-up has not been written yet. The Original tab links to the source.

SNMP is a protocol used to manage network devices. The author says that by putting malicious text into an SNMP value, a device could be tricked into running harmful code in a user's browser (cross-site scripting) or into misusing a database (SQL injection).

What is XSS?

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

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.