Skip to content
RCE Write-up Intermediate

Easy $20,160 bug from hackerone

Pulse Secure SSL VPN had multiple vulnerabilities including pre-auth arbitrary file reading, post-auth command injection, buffer overflow, file read/write, and session hijacking. An attacker could read sensitive files without authentication, bypass 2FA, execute commands, and hijack sessions.

medium.com

Published on medium.com

the security a researchers discovered some pretty scary vulnerabilities in Pulse Secure SSL VPN. These were not your average bugs.

Loaymorad, on medium.com

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 multiple flaws: missing access controls on file endpoints, improper input sanitisation, insecure session storage, and hardcoded credentials in files.

What the attacker needed

Exposed Pulse Secure VPN; Network access to the VPN; For some bugs, valid credentials

How it was found

  1. Scan for exposed Pulse Secure VPNs using Shodan and common headers.
  2. Send HTTP requests to vulnerable endpoints to read files like /etc/passwd without authentication.
  3. Use integration keys from exposed files to bypass Duo 2FA.
  4. Steal session file randomVal/data.mdb and reuse it to hijack sessions.
  5. Inject commands via admin fields to execute arbitrary commands.
  6. Upload or overwrite files via admin interface to write arbitrary files.

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.

This is about a VPN product that had several security holes. One let anyone read files on the server without logging in, and others let logged-in users run commands or take over sessions. The article describes these bugs in simple terms but doesn't give technical details.

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.