Skip to content
RCE Disclosed report Intermediate CVE-2016-10589

selenium-binaries downloads resources over HTTP

The selenium-binaries package downloaded an executable over an unencrypted HTTP connection. An attacker with a privileged network position could intercept the response and replace the executable with a malicious one, leading to code execution.

spunjs/selenium-binaries

Originally disclosed on huntr

Versions of selenium-binaries prior to 0.15.0 insecurely download an executable over an unencrypted HTTP connection.

In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running selenium-binaries.

Recommendation

A fix for this vulnerability is available on the master branch of the repository as part of version 0.15.0.

Another mitigation currently available is to use an alternate package, such as selenium-webdriver, the official selenium bindings for node.js.

From the GitHub Advisory Database (GHSA-h4mc-r4f4-hcf4, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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

Impact

An attacker with a privileged network position could replace the executable and achieve code execution on the system running selenium-binaries.

What the attacker needed

Attacker has a privileged network position

The fix

The vulnerability was fixed in version 0.15.0 on the master branch; an alternative mitigation is to use the official selenium-webdriver package instead.

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.

When a program downloads another program to run, it should use a secure, encrypted connection (HTTPS). Here it used plain HTTP, so someone who can watch or tamper with the network traffic could swap the downloaded file for malware. That malware would then run on the victim's computer.

What is RCE?

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

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.