Unauthenticated reflected XSS in Essity "Network Toolbox" CGI (████████ ████████
The Network Toolbox CGI reflects the packet_size parameter without encoding when it is non-integer, allowing an attacker to inject arbitrary JavaScript. An unauthenticated attacker could execute script in the Essity origin against any visitor who follows a crafted link.
- Triaged in 2 hours
- Fixed in 13 days
- Disclosed after 13 days
Summary
Legacy Perl "Network Toolbox" CGI at ████████ reflects packet_size into the HTML response without output encoding. When packet_size is non-integer, the script echoes the raw value inside an <h3> error element, allowing arbitrary HTML/JS injection. No auth required; no CSP on the response.
Steps to reproduce
Unauthenticated URL (browser or curl):
████████?action=Run_Cmd&ip=1.1.1.1&packet_size=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E&cmd=+Ping+
curl:
curl -sk '████████?action=Run_Cmd&ip=1.1.1.1&packet_size=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E&cmd=+Ping+' \
-H 'X-HackerOne-Research: larocas'
Reflection gated on action=Run_Cmd + non-integer packet_size; GET and POST both work.
████████ Encoding proof:
packet_size=<i>RAWTEST</i>reflected literally as<i>RAWTEST</i>(no<i>).packet_size=<img src=x onerror=console.log('XSS-larocas')>reflected raw inside<h3>.
Impact
Arbitrary JS in the Essity-owned origin ████████ against any visitor following a crafted link (no auth, no cookie). Enables phishing under an Essity domain, content injection/defacement, theft of anything scriptable from the origin. Absent CSP + legacy internet-facing mirror of internal SCA/SGN tool compound exposure.
Secondary info disclosure on same page (low on its own)
Public page source leaks internal infra (non-qualifying alone, worth remediating with the XSS): internal host ████████, internal mgmt IP ████████, SNMP read-only community ████████, server path ████████, internal contact ████████.
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 CGI script echoes the raw packet_size value into an HTML error element without output encoding.
Impact
Arbitrary JavaScript could run in the Essity-owned origin against any visitor following a crafted link, enabling phishing, content injection, and theft of scriptable data; no CSP was present to limit it.
What the attacker needed
Victim clicks a crafted link; no authentication required
How it was found
- Send a request to the CGI with action=Run_Cmd and a non-integer packet_size containing HTML.
- Observe that the value is reflected literally without encoding.
- Use a script payload to execute JavaScript in the origin.
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.
A web page takes a value from the URL and puts it directly into the page without cleaning it. An attacker can put code in that value, and the victim's browser runs it as if it came from the trusted site. This is called reflected cross-site scripting (XSS).
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.