cbcvebase.
CVE-2018-10824
published 2018-10-17

CVE-2018-10824: An issue was discovered on D-Link DWR-116 through 1.06, DIR-140L through 1.02, DIR-640L through 1.02, DWR-512 through 2.02, DWR-712 through 2.02, DWR-912…

PriorityP269critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
12.48%
95.8th percentile
An issue was discovered on D-Link DWR-116 through 1.06, DIR-140L through 1.02, DIR-640L through 1.02, DWR-512 through 2.02, DWR-712 through 2.02, DWR-912 through 2.02, DWR-921 through 2.02, and DWR-111 through 1.01 devices. The administrative password is stored in plaintext in the /tmp/csman/0 file. An attacker having a directory traversal (or LFI) can easily get full router access.

Affected

8 ranges
VendorProductVersion rangeFixed in
dlinkdir-140l_firmware<= 1.02
dlinkdir-640l_firmware<= 1.02
dlinkdwr-111_firmware<= 1.01
dlinkdwr-116_firmware<= 1.06
dlinkdwr-512_firmware<= 2.02
dlinkdwr-712_firmware<= 2.02
dlinkdwr-912_firmware<= 2.02
dlinkdwr-921_firmware<= 2.02

Detection & IOCsextracted from sources · hover to see the quote

path/tmp/csman/0
urlhttp://routerip/uir//etc/passwd
urlhttp://routerip/uir//tmp/XXX/0
  • Alert on HTTP responses containing binary config file data from path '/tmp/csman/0' (or obfuscated equivalent), which exposes plaintext admin credentials.
  • Chain detection: CVE-2018-10822 directory traversal (GET /uir//) used to retrieve the plaintext password file at /tmp/csman/0 — monitor for unauthenticated requests to this combined path.
  • ·The researcher obfuscated the exact plaintext password file path in the public PoC (replaced 'csman' with 'XXX') to reduce ease of exploitation on unpatched EOL devices; the NVD entry reveals the true path as /tmp/csman/0.
  • ·The directory traversal vulnerability (CVE-2018-10822) persists in newer firmware releases despite a prior fix attempt for CVE-2017-6190; both /.. and // traversal variants are effective.
  • ·Additional D-Link router models beyond those explicitly listed may share the same vulnerable firmware type and be susceptible to both CVE-2018-10822 and CVE-2018-10824.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
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.