CVE-2017-18368 is an unauthenticated OS command injection (CWE-78) in the Zyxel P660HN-T1A v1 DSL router: the remote_host field of the Remote System Log page, ViewLog.asp, passes input to a root shell. NVD scores it 9.8, CISA KEV lists it, and botnets use it. Zyxel says the router is end-of-life, so replace it.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
94.5%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2017-18368 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Zyxel P660HN-T1A v1 (TrueOnline firmware) | cpe:2.3:o:zyxel:p660hn-t1a_v1_firmware:7.3.15.0:*:*:*:*:*:*:* | TCLinux Fw $7.3.15.0 v001 / 3.40(ULM.0)b31 (NVD); Zyxel states generic firmware 3.40(BYF.11) is not affected and a patch for the customised firmware was provided in 2017 |
| Zyxel P660HN-T1A v2 | cpe:2.3:o:zyxel:p660hn-t1a_v2_firmware:7.3.15.0:*:*:*:*:*:*:* | 7.3.15.0 per NVD CPE only; the researcher's advisory assigns the v2 injection (logSet.asp, authenticated) to CVE-2017-18370 |
| Billion 5200W-T | cpe:2.3:o:billion:5200w-t_firmware:7.3.8.0:*:*:*:*:*:*:* | 7.3.8.0 per NVD CPE only; the researcher's advisory assigns the Billion injection (adv_remotelog.asp) to CVE-2017-18369 |
What does this mean for affected devices?
NVD describes the flaw: "The ZyXEL P660HN-T1A v1 TCLinux Fw $7.3.15.0 v001 / 3.40(ULM.0)b31 router distributed by TrueOnline has a command injection vulnerability in the Remote System Log forwarding function, which is accessible by an unauthenticated user. The vulnerability is in the ViewLog.asp page and can be exploited through the remote_host parameter." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and CISA ADP gives the same 9.8. Both classify it as CWE-78, OS command injection. The record was published on 2019-05-02 with MITRE as the CNA (NVD, CVE record).
How was it found and how is it exploited?
Pedro Ribeiro of Agile Information Security found it in July 2016 and reported it through SecuriTeam's disclosure programme; his advisory on TrueOnline, Zyxel and Billion routers covers three TrueOnline-branded models built on the TrendChip TC3162U SoC with the "tclinux" Linux firmware and the Boa web server. On the P660HN-T1A v1 a single unauthenticated POST to /cgi-bin/ViewLog.asp with ;command;# in remote_host runs the command as root. Palo Alto Networks Unit 42 reported a Gafgyt variant that added this exact request, with a wget dropper, to its scanners alongside the Huawei HG532 and Realtek SDK (CVE-2014-8361) exploits, to recruit routers for attacks on game servers.
Which firmware is affected and is there a fix?
NVD's CPE configuration lists P660HN-T1A v1 and v2 firmware 7.3.15.0 and Billion 5200W-T 7.3.8.0. Ribeiro's advisory gives the v2 and Billion injections their own CVEs (CVE-2017-18370 and CVE-2017-18369), so the extra CPEs over-match this CVE. Zyxel's security advisory for CVE-2017-18368, released on 2023-08-08 after the KEV listing, states that Zyxel "provided a patch for the mentioned customized P660HN-T1A in 2017", that the latest generic firmware 3.40(BYF.11) is not affected, and that the product is end-of-life; customers who got the router from an ISP should contact the ISP. Zyxel's earlier Gafgyt advisory (2019-11-07) says 3.40(BYF.11) is immune to that variant and that the P660HN-T1A has been end-of-life since 2016, with the firmware file available from local Zyxel support.
What should you do?
CISA added CVE-2017-18368 to the KEV catalog on 2023-08-07 with the required action "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable." (due date 2023-08-28; known ransomware campaign use: Unknown); it is still listed as of 2026-11-19 in catalog version 2026.11.18 (CISA KEV). FIRST EPSS gives it 0.94508, the 99.86th percentile, in the 2026-11-18 dataset (FIRST EPSS). Replace the router as Zyxel recommends; until then, run 3.40(BYF.11) or the ISP's patched build and keep the web interface off untrusted networks. ENISA's 2025 report lists this CVE among old router flaws exploited against EU organisations (ENISA Threat Landscape 2025 guide). The root-cause fix is covered in how to fix command injection in embedded firmware. Other Zyxel device flaws: CVE-2024-11667 (firewall path traversal) and CVE-2026-7273 (GS1900 switch).
Evidence
- NVD: P660HN-T1A v1 TCLinux Fw $7.3.15.0 v001 / 3.40(ULM.0)b31 distributed by TrueOnline, unauthenticated command injection in Remote System Log forwarding, ViewLog.asp remote_host; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; CISA ADP same 9.8; CWE-78 from NVD and CISA ADP; CPEs zyxel p660hn-t1a_v1_firmware 7.3.15.0, p660hn-t1a_v2_firmware 7.3.15.0, billion 5200w-t_firmware 7.3.8.0; published 2019-05-02; status Analyzed. — NVD
- Zyxel advisory (initial release 2023-8-8): CVE-2017-18368 on CISA KEV; patch for customised P660HN-T1A provided in 2017; latest generic firmware 3.40(BYF.11) not affected; command injection in Remote System Log forwarder of firmware 3.40(ULM.0)b3 lets remote unauthenticated attacker run OS commands with a crafted HTTP request; product end-of-life/end-of-support, replace; ISP customers contact the ISP. — Zyxel security advisory
- Zyxel Gafgyt advisory (initial release 2019-11-07): new Gafgyt variant leverages CVE-2017-18368 against P660HN-T1A; devices on 3.40(BYF.11) immune; P660HN-T1A end-of-life since 2016, contact local Zyxel support for firmware; credits Asher Davila of Palo Alto Networks. — Zyxel security advisory (Gafgyt)
- Pedro Ribeiro advisory (disclosure 2016-12-26, updated 2019-06-08): TrueOnline-distributed ZyXEL P660HN-T1A v1/v2 and Billion 5200W-T on TC3162U SoC, tclinux firmware, Boa web server; found July 2016, reported via SecuriTeam SSD; #1 CVE-2017-18368 unauthenticated injection in ViewLog.asp remote_host on v1 firmware 340ULM0b31, commands run as root; v2 logSet.asp is CVE-2017-18370; Billion adv_remotelog.asp is CVE-2017-18369. — Agile Information Security (Pedro Ribeiro)
- Unit 42: Gafgyt variant derived from JenX adds CVE-2017-18368 (Zyxel P660HN-T1A) to CVE-2017-17215 (Huawei HG532) and CVE-2014-8361 (Realtek); exploit is a POST to /cgi-bin/ViewLog.asp with a wget dropper in remote_host; targets game servers. — Palo Alto Networks Unit 42
- CVE record: state PUBLISHED, CNA MITRE, published 2019-05-02. — CVE.org
- KEV catalog version 2026.11.18: dateAdded 2023-08-07, required action 'Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.', due 2023-08-28, knownRansomwareCampaignUse Unknown; checked 2026-11-19. — CISA KEV
- EPSS 0.94508, percentile 0.99856, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories
Sources
- NVD
- Zyxel security advisory for command injection vulnerability in P660HN-T1A DSL CPE
- Zyxel security advisory for a new variant of Gafgyt malware
- Pedro Ribeiro (Agile Information Security): multiple vulnerabilities in TrueOnline / ZyXEL / Billion routers
- Palo Alto Networks Unit 42: home and small office wireless routers exploited to attack gaming servers
- CVE.org record CVE-2017-18368 (CNA: MITRE)
- CISA KEV
- FIRST EPSS
Frequently asked questions
Which firmware fixes CVE-2017-18368?
Zyxel states that it provided a patch for the customised TrueOnline P660HN-T1A firmware in 2017 and that the latest generic firmware, 3.40(BYF.11), is not affected. The router has been end-of-life since 2016, so firmware comes from local Zyxel support or the ISP (per Zyxel's 2019 and 2023 advisories).
Does CVE-2017-18368 need a login?
No. The ViewLog.asp page is reachable without authentication, and a POST with a shell command in the remote_host parameter runs it as root. The researcher noted LAN exploitation and NVD scores it with a network vector, CVSS v3.1 9.8 (per NVD and Pedro Ribeiro's advisory).
Is CVE-2017-18368 exploited in the wild?
Yes. CISA added it to KEV on 2023-08-07, and it is listed as of 2026-11-19 in catalog version 2026.11.18. Unit 42 documented a Gafgyt variant using the ViewLog.asp request. FIRST EPSS gives 0.94508, the 99.86th percentile, in the 2026-11-18 dataset (per CISA KEV, Unit 42 and FIRST EPSS).
Why does NVD list Billion 5200W-T and P660HN-T1A v2 for CVE-2017-18368?
NVD's CPE configuration includes them, but the original advisory assigns the P660HN-T1A v2 injection to CVE-2017-18370 and the Billion 5200W-T injection to CVE-2017-18369. Check those CVEs for v2 and Billion units rather than relying on this record alone (per NVD and Pedro Ribeiro's advisory).
Questions about this page?