
Proof-of-concept exploit for authenticated OS command injection in TP-Link Archer C20 v6 web management interface, executing root commands via BPA WAN configuration over LAN.
Authenticated OS command injection in the TP-Link Archer C20 v6 web management interface.
BPA WAN configuration values are passed to system() without adequate neutralization, allowing an authenticated administrator on the adjacent network to execute commands as root.
Discovered and reported by Daniil Gordeev (totekuh).
0.9.1 Build 2608110.9.1 Build 2608120.9.1 Build 260812requests, and pycryptodomepython3 -m pip install requests pycryptodome
python3 bpa-poc.py --target 192.168.0.1 --password '<admin-password>'
nc 192.168.0.1 4445
Use --list-only to enumerate WAN instances without triggering the command
injection.