{"id":"CVE-2018-19987","published":"2019-05-13T13:23:33Z","modified":"2024-08-05T11:51:17Z","title":"D-Link DIR-822 Rev.B 202KRb06, DIR-822 Rev.C 3.10B06, DIR-860L Rev.B 2.03.B03, DIR-868L Rev.B 2.05B02, DIR-880L Rev.A…","vendor":null,"product":null,"tier":"tail","description":{"text":"D-Link DIR-822 Rev.B 202KRb06, DIR-822 Rev.C 3.10B06, DIR-860L Rev.B 2.03.B03, DIR-868L Rev.B 2.05B02, DIR-880L Rev.A 1.20B01_01_i3se_BETA, and DIR-890L Rev.A 1.21B02_BETA devices mishandle IsAccessPoint in /HNAP1/SetAccessPointMode. In the SetAccessPointMode.php source code, the IsAccessPoint parameter is saved in the ShellPath script file without any regex checking. After the script file is executed, the command injection occurs. A vulnerable /HNAP1/SetAccessPointMode XML message could have shell metacharacters in the IsAccessPoint element such as the `telnetd` string.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.1204,"percentile":0.96235,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.25},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2020-11-19","earliestUrl":"https://github.com/nahueldsanchez/blogpost_cve-2018-19987-analysis","repos":[{"name":"nahueldsanchez/blogpost_cve-2018-19987-analysis","url":"https://github.com/nahueldsanchez/blogpost_cve-2018-19987-analysis","stars":2,"created":"2020-11-19"}]},"first":{"date":"2020-11-19","source":"PoC-in-GitHub","url":"https://github.com/nahueldsanchez/blogpost_cve-2018-19987-analysis"},"provenance":"source"},"summary":{"text":"The IsAccessPoint parameter handled by the /HNAP1/SetAccessPointMode endpoint on several D-Link DIR-series routers (including DIR-822, DIR-860L, DIR-868L, DIR-880L and DIR-890L revisions) is written into a ShellPath script file without regex validation, so shell metacharacters survive into execution. An attacker who can send a crafted SetAccessPointMode XML message containing shell metacharacters in the IsAccessPoint element can achieve command injection once the script runs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:49:23Z"},"euvd":{"id":"EUVD-2018-11654","exploited":false,"provenance":"source"}}