Novell Groupwise webaccess
Affected software: 7.x and 8.0
Groupwise WebAccess implements a security parser designed to prevent embedded scripts in HTML emails from executing in the users's browser.
Unfortunately this parser fails to recognize some unusual but valid syntaxes like the one used in the example shown below allowing a maliciously crafted email to run its payload in the context of a user session.
All the configuration options of a user's mailbox, including proxy and rule lists, are therefore exposed to illegitimate modification and will easily grant an attacker read/write access to the victim's mailbox.
A malicious code might be well designed like a worm and spread itself using its victims's address book taking over all of a company's mailboxes one after another.
Even though the accounts's password can't be extracted or changed through direct call to the configuration tools,
other indirect attacks are still available like using a fake relogin page prompting victims to give up their password.
Following harmless code uses an onload() event handler to bootstrap its payload as soon as the email is open.
The first stage of this script extracts the session token (User.Context) from within the current document's URI and used
to make up the second stage.
The second injects an iframe in the current page which in turn calls the signature configuration interface and changes the user's signature on the fly.
This example uses a fake target, 'gwwa.victim.com' that must be changed with a real server addresss/name.
For GroupWise 7.x systems, apply GroupWise 7.03 Hot Patch 3 (HP3) or later
For GroupWise 8.0 systems, apply GroupWise 8.0 Hot Patch 2 (HP2) or later
2009-01-29: Vulnerability reported to Novell.
2009-05-21: Patch released by Novell.
2009-05-28: Public disclosure.