Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessJoin captive portal network unauthenticated
-
DeliverySend crafted HTTP request with query string dense in percent-encodable characters
-
ExploitURL encoding in redirect_to_splashpage expands data beyond QUERYMAXLEN heap buffer
-
ExecutionHeap overflow corrupts adjacent allocations
-
ImpactCrash openNDS daemon (DoS) or control execution flow for RCE
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be connected to the adjacent captive portal network - physically or via Wi-Fi on the segment where openNDS is serving portal redirects - but need not be authenticated through the portal. No credentials or elevated privileges are required (PR:N per CVSS vector). The vulnerable code path activates during the normal captive portal redirect flow when openNDS intercepts an HTTP request from an uncaptured client; no non-default configuration or special feature flag is needed beyond the captive portal daemon being active. Exploitation is bounded by the adjacent network vector (AV:A), preventing direct internet-based attacks. Reliable remote code execution is further limited by high attack complexity (AC:H), as it requires heap layout control beyond a straightforward overflow write; daemon crash (DoS) is the more readily achievable outcome and does not require this additional step. |
| Impact | The provided CVSS 3.1 vector AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L scores 7.1 (High). The adjacent attack vector (AV:A) restricts exploitation to attackers already connected to the captive portal network segment - a meaningful constraint that eliminates direct internet-based attacks. However, captive portals are by design accessible to the general public in hotels, airports, and cafes, which substantially reduces the practical barrier to reaching the attack surface. The A:L (low availability) rating is in tension with the description's explicit mention of daemon crash as the primary impact; this may assume daemon auto-restart behavior, which defenders should verify in their deployment. No EPSS score or CISA KEV listing was provided, so exploitation probability and confirmed in-the-wild use are unknown. High attack complexity (AC:H) means reliable RCE - as opposed to the more straightforwardly achievable DoS - requires heap layout manipulation not easily automated, reducing mass-exploitation risk. The DoS path is the more reliable and lower-complexity outcome and represents the primary operational risk for most deployments. |
| Exploit ScenarioDerived | An unauthenticated attacker who has joined a public Wi-Fi network protected by openNDS - such as a guest in a hotel lobby - sends a crafted HTTP request whose query string contains a high density of characters requiring percent-encoding, causing the URL-encoded representation to exceed the QUERYMAXLEN-sized heap buffer allocated in redirect_to_splashpage. The resulting heap overflow either crashes the openNDS daemon immediately (reliable DoS), or - with additional heap grooming to control adjacent memory - redirects execution to attacker-controlled code running as the openNDS process user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Heap-based buffer overflow in openNDS before 11.0.0 allows an unauthenticated attacker positioned on the captive portal network to crash the openNDS daemon and potentially execute arbitrary code remotely. The flaw is in the redirect_to_splashpage function in http_microhttpd.c, where the query string buffer is under-allocated at QUERYMAXLEN bytes despite URL encoding expanding input by up to 1.5x - when a crafted request triggers the redirect path, the encoded data overflows the heap allocation. No public exploit identified at time of analysis, though the upstream fix commit is publicly available and exposes the exact vulnerable code path.
RemediationAI
Upgrade openNDS to version 11.0.0 or later, which incorporates the fix from commit 3b5f7ef40cd048826d3c4a16f61a73a1768fd5a9 correcting the ENC_QUERYSTR buffer allocation in redirect_to_splashpage; the patch is available at https://github.com/openNDS/openNDS/commit/3b5f7ef40cd048826d3c4a16f61a73a1768fd5a9. For deployments that cannot immediately upgrade, restrict access to the captive portal network segment to trusted or controlled client populations where feasible - note that this trades off the open guest-access use case against exploit exposure. Rate-limiting HTTP connections from captive portal clients to the openNDS daemon port may reduce crash frequency but will not eliminate the vulnerability. Disabling the captive portal redirect functionality entirely removes the attack surface but also removes guest authentication capability entirely. No vendor-issued advisory beyond the upstream commit was available in the provided references.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openNDS is an open-source captive portal daemon commonly deployed on OpenWrt-based routers and embedded networking hardware to provide authenticated guest network access. The vulnerable code is in the redirect_to_splashpage function in http_microhttpd.c, which handles HTTP interception and redirection for unauthenticated captive portal clients. The root cause (CWE-122: Heap-based Buffer Overflow) is a buffer sizing arithmetic error: the querystr buffer was allocated via safe_calloc(QUERYMAXLEN), but the ENC_QUERYSTR constant - intended to represent the maximum size of the URL-percent-encoded query string - was defined as QUERYMAXLEN * 1.333, which was insufficient. URL percent-encoding can expand input to up to 3x per special character in pathological cases, and the 1.333 multiplier proved inadequate. The fix in commit 3b5f7ef raises ENC_QUERYSTR to QUERYMAXLEN * 1.5 and changes the allocation call to safe_calloc(ENC_QUERYSTR). The affected CPE is cpe:2.3:a:opennds:opennds:*:*:*:*:*:*:*:* covering all versions before 11.0.0.
Know when Opennds gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
AV:A retained for captive portal adjacency; A:H corrects the provided A:L since daemon crash constitutes full availability loss regardless of restart behavior; AC:H retained as reliable RCE requires heap layout control.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
A heap-based buffer overflow vulnerability exists in openNDS before 11.0.0 that allows an unauthenticated attacker on the captive portal network to crash the openNDS daemon (denial of service) and potentially achieve remote code execution. This is in http_microhttpd.c.
Executive ViewAI
OpenNDS captive portal gateway versions before 11.0.0 contain a heap-based buffer overflow that allows unauthenticated attackers positioned on the portal network to crash the service or execute arbitrary code. Organizations deploying openNDS for guest or captive portal authentication face immediate risk of service compromise or denial without vendor-supplied fixes. The absence of available patches creates urgent need for interim risk mitigation.
No vendor-released patch identified at time of analysis. Implement network segmentation to restrict unauthorized access to the captive portal gateway; deploy enhanced monitoring and alerting for daemon crashes or abnormal process behavior; consider disabling the captive portal service if operationally feasible; configure request-size limits and protocol validation on upstream network appliances if available; maintain incident response procedures for rapid gateway isolation or failover.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in openNDS Memory and Command Injection Flaws
View all 4An issue was discovered in the captive portal in OpenNDS before version 10.1.3. Rated critical severity (CVSS 9.8), this
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. Rated critical severity (CVSS 9.8), this vulner
openNDS 10.2.0 is vulnerable to Use-After-Free via /openNDS/src/auth.c. Rated medium severity (CVSS 5.5), this vulnerabi
An issue was discovered in the captive portal in OpenNDS before version 10.1.3. Rated high severity (CVSS 7.5), this vul
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. Rated high severity (CVSS 7.5), this vulnerabil
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. Rated high severity (CVSS 7.5), this vulnerabil
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. Rated high severity (CVSS 7.5), this vulnerabil
An issue was discovered in OpenNDS Captive Portal before 10.1.2. Rated high severity (CVSS 7.5), this vulnerability is r
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. Rated medium severity (CVSS 6.5), this vulnerab
EUVD-2026-67361
GHSA-rm65-3jj4-3vcm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB