Submit #1082763: D-Link DIR-878 1.20B05 NULL Pointer Dereference (CWE-476)info

TitelD-Link DIR-878 1.20B05 NULL Pointer Dereference (CWE-476)
BeschreibungA NULL pointer dereference vulnerability was discovered in D-Link DIR-878 (REV A) firmware v1.20B05. The GetCAPTCHAsetting HNAP handler in bin/prog.cgi (0x436158) executes strcpy(malloc(0xb), uid) when registering a new uid; when the request carries no Cookie header at all, the cookie parser (0x424610) leaves uid NULL and strcpy reads from address 0, causing an immediate SIGSEGV. The endpoint serves the login page and requires no authentication. Reproduction: curl -X POST /HNAP1/ with SOAPAction GetCAPTCHAsetting and an empty SOAP body returns HTTP 500 and kills the FastCGI worker (core dump attributed to prog.cgi), while the identical request with any Cookie header returns 200 OK. An unauthenticated adjacent-network attacker can repeatedly crash the web management interface with a single trivial request (denial of service). Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (6.5). Discovered by Zhaoyang-haha via dynamic differential testing (Cookie present vs. absent) with core attribution and static root-cause analysis.
Quelle⚠️ https://github.com/Zhaoyang-haha/DIR-878-cves/tree/main/04-captcha-no-cookie-null-deref
Benutzer
 ha ha-yang (UID 102151)
Einreichung09.11.2026 17:11 (vor 25 Tagen)
Moderieren04.12.2026 07:51 (25 days later)
StatusAkzeptiert
VulDB Eintrag449613 [D-Link DIR-878 1.20B05 HNAP /bin/prog.cgi GetCAPTCHAsetting uid Denial of Service]
Punkte20

Do you know our Splunk app?

Download it now for free!