Bygone Vulnerabilities - Remote Code Execution in IBM Lotus SameTime Clients (CVE-2013-0553)
The Sametime client performed HTML sanitisation on the sending side, and the Active Content Filter (ACF) could be bypassed with a crafted comment-like prefix that ACF treated as a single comment but the embedded Gecko browser treated as a closed comment, allowing an attacker to send a malicious HTML message that led to remote code execution.
It's time to dive into another old vulnerability. Let's go back to 2013.
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 HTML sanitisation was performed by the sending client, and the receiving client's Active Content Filter and Gecko renderer disagreed on how to parse a crafted comment sequence, allowing a filter bypass.
Impact
An attacker could achieve fully-automated remote code execution on a victim's Sametime client by sending a crafted message, though the exploit required bypassing the Active Content Filter.
What the attacker needed
Victim uses Sametime client; attacker can send messages; custom client or SDK
The fix
IBM provided a custom patch and later a public patch to fix the vulnerability.
How it was found
- Create a custom Sametime client using the SDK that does no HTML encoding or modification of outbound messages.
- Send a message containing a crafted comment-like prefix followed by an exploit payload.
- The receiving client's ACF treats the whole string as a comment and allows it, while the Gecko renderer treats only the prefix as a comment and renders the payload.
- The rendered payload executes code on the victim's machine.
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.
The chat program tried to clean up HTML messages before showing them, but it did this cleaning on the sender's computer rather than the receiver's. The attacker could craft a message that looked like a harmless comment to the cleaner but was actually treated as active code by the built-in web browser, letting them run commands on the victim's machine.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.