| 제목 | D-Link DIR-600L 2.17b02 Stack-based Buffer Overflow |
|---|
| 설명 | Additional affected-product investigation for CVE-2023-33626: Potential pre-authentication stack-based buffer overflow in D-Link DIR-600L Rev B firmware 2.17b02.
Static analysis of the firmware identified unsafe formatted string operations in the GENA subscription handler within the htdocs/cgibin executable.
The vulnerable routine, FUN_0040efb0, is called by genacgi_main and constructs notification-related strings using sprintf operations targeting an approximately 516-byte stack buffer.
The formatted strings incorporate attacker-controlled values from the service query parameter and HTTP CALLBACK header without adequate length validation.
According to the supplied research records, the affected GENA subscription handler can be reached without authentication through the router's UPnP service.
Dynamic testing was performed in a re-hosted QEMU-MIPSEL firmware environment.
Two tests using oversized service values produced CGI process crashes associated with SIGSEGV.
The QEMU execution records indicate that one crash occurred near the function epilogue. However, the available host-side signal traces do not independently establish reliable attacker-controlled program-counter values or confirm the exact saved return-address overwrite.
The demonstrated evidence consists of unsafe stack-buffer formatting operations and reproducible CGI process crashes in the emulated environment.
Remote code execution, persistent denial of service affecting the entire web server, and exploitation on physical router hardware have not been demonstrated.
Affected vendor: D-Link
Affected product: DIR-600L
Hardware revision: B
Affected firmware: 2.17b02
Affected component: gena.cgi / genacgi_main / FUN_0040efb0
Vulnerability type: Potential Stack-based Buffer Overflow
CWE: CWE-121, CWE-787
Authentication required: No, according to firmware analysis
Attack vector: UPnP GENA subscription processing
Testing environment: Re-hosted QEMU-MIPSEL
Related CVE: CVE-2023-33626
Related VulDB entry: VDB-231270
CVE-2023-33626 documents a stack overflow in the gena.cgi handler of D-Link DIR-600 B5 firmware 2.18, involving an oversized service parameter and a fixed-size stack buffer.
The similarities suggest a potentially shared root cause. A binary-level comparison of the vulnerable routines, formatting operations, stack layouts, and firmware lineage is necessary to confirm whether DIR-600L Rev B firmware 2.17b02 should be added to the existing affected-product list.
This report is provided as supplemental technical evidence, not as a confirmed independent vulnerability requiring a new CVE.
CVSS: Deferred pending validation.
Vendor notification status: Not independently confirmed.
|
|---|
| 원천 | ⚠️ https://github.com/ruanyi101/router-firmware-security-advisories/blob/main/router-firmware-GitHub-advisories/related-findings/D-Link-DIR-600L-gena-cgi-stack-overflow-review.md |
|---|
| 사용자 | ruanyi (UID 102203) |
|---|
| 제출 | 2026. 10. 22. PM 02:03 (29 날 ago) |
|---|
| 모더레이션 | 2026. 11. 20. PM 08:34 (29 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 441598 [D-Link DIR-600L 2.17b02 GENA Subscription gena.cgi FUN_0040efb0 service 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|