Skip to content
RCE Write-up Advanced

RCE in Slanger, a Ruby implementation of Pusher

Slanger 0.6.0, a Ruby Pusher-compatible server, contained a critical remote code execution vulnerability. An attacker could run arbitrary code on the server, though the text does not describe the exact mechanism.

pieter Follow

Published on honoki.net

Pusher is a product that provides a number of libraries to enable the use of WebSockets in a variety of programming languages. WebSockets, according to their website, “represent a standard for bi-directional realtime communication between servers and clients.”

pieter, on honoki.net

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 execute arbitrary code on a Slanger server, potentially taking it over.

What the attacker needed

Slanger 0.6.0 in use; network access to the Slanger server

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.

Slanger is a server that speaks the same protocol as Pusher, a service for sending live updates to web pages. A remote code execution bug means someone on the network can make the server run their own commands, which is about as serious as it gets. This post only announces the bug and the disclosure process, not how it works.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by pieter

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.