cbcvebase.
CVE-2019-13372
published 2019-07-06

CVE-2019-13372: /web/Lib/Action/IndexAction.class.php in D-Link Central WiFi Manager CWM(100) before v1.03R0100_BETA6 allows remote attackers to execute arbitrary PHP code via…

PriorityP192critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
82.49%
99.6th percentile
/web/Lib/Action/IndexAction.class.php in D-Link Central WiFi Manager CWM(100) before v1.03R0100_BETA6 allows remote attackers to execute arbitrary PHP code via a cookie because a cookie's username field allows eval injection, and an empty password bypasses authentication.

Affected

1 ranges
VendorProductVersion rangeFixed in
dlinkcentral_wifimanager<= 1.03

Detection & IOCsextracted from sources · hover to see the quote

path/web/Lib/Action/IndexAction.class.php
url/index.php/Index/index
cookieusername=',0,"",1,"0")%3becho%20"{{string}}%3b//";password=
othershodan-query: html:"D-Link Central WiFiManager"
  • The vulnerability is triggered via the `username` cookie field, which is passed to PHP `eval()` without sanitization. Monitor HTTP requests to `/index.php/Index/index` containing a `username` cookie with PHP injection payloads (e.g., URL-encoded semicolons `%3b`, PHP function calls) and an empty `password` cookie value.
  • Authentication bypass is achieved by supplying an empty `password` cookie value alongside the malicious `username` cookie. Detect requests where the `password` cookie is empty and the `username` cookie contains special characters indicative of PHP injection (e.g., `%3b`, `//`, parentheses).
  • Use the Shodan dork `html:"D-Link Central WiFiManager"` to identify exposed instances of the vulnerable product on the internet.
  • ·Affected versions are strictly below v1.03R0100_BETA6. Instances running v1.03R0100_BETA6 or later are not vulnerable.
  • ·Exploitation is only possible because dangerous PHP functions are not disabled by default on the target. If `disable_functions` is configured in `php.ini` to restrict dangerous functions (e.g., `system`, `exec`, `passthru`), code execution impact may be limited, though the eval injection itself would still be present.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.