Skip to content
XSS Write-up Intermediate

Mehrere Verwundbarkeiten in SEPPmail 11.1.10

SEPPmail 11.1.10 contains reflected cross-site scripting (XSS) via the subject parameter and the recipient field, and a weak Content Security Policy that allows inline scripts and can be bypassed using an iframe from a page without CSP. An attacker could execute JavaScript in the victim's browser to steal credentials or perform actions as the victim.

Pentagrid AG Follow

Published on pentagrid.ch

Während eines Penetrationstests identifizierte Pentagrid mehrere Schwachstellen in der E-Mail-Gateway-Software SEPPmail in der Version 11.1.10 des Schweizer Unternehmens Seppmail AG. Die Gateway-Lösung dient dem Transfer vertraulicher E-mails.

Pentagrid AG, on pentagrid.ch

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

Root cause

Likely the application fails to encode user-supplied input before embedding it into HTML attributes and page content, and the Content Security Policy allows unsafe-inline scripts.

Impact

An attacker could execute arbitrary JavaScript in the victim's browser to steal credentials or perform actions as the victim, though the CSP initially blocked some payloads but could be bypassed.

What the attacker needed

Victim clicks a link; attacker has a valid session (for recipient XSS); CSP bypass needed for some payloads

The fix

The vulnerabilities were fixed in SEPPmail version 12.0.6.

How it was found

  1. Craft a URL with a malicious payload in the subject parameter.
  2. Send the URL to a victim and convince them to open it.
  3. The payload is reflected unencoded into the HTML page and executes in the victim's browser.

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.

Cross-site scripting (XSS) is a bug where a website inserts user input into its pages without proper cleaning, so an attacker can make the site run their JavaScript. Here, the email gateway put the 'subject' and recipient fields into the page without encoding, letting an attacker run code in the victim's browser. The site also had a weak security policy that allowed inline scripts, making the attack easier.

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 Pentagrid AG

View all

7 more disclosed reports, best first.

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.