CVE-2023-38316
Description
An issue was discovered in OpenNDS Captive Portal before version 10.1.2. When the custom unescape callback is enabled, attackers can execute arbitrary OS commands by inserting them into the URL portion of HTTP GET requests. Affected OpenNDS Captive Portal before version 10.1.2 fixed in OpenWrt master, OpenWrt 23.05 and OpenWrt 22.03 on 28. August 2023 by updating OpenNDS to version 10.1.3.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Authenticated remote code execution via URL injection in OpenNDS Captive Portal versions before 10.1.2 when the custom unescape callback is enabled.
Vulnerability
OpenNDS Captive Portal before version 10.1.2 contains a code injection vulnerability. When the custom unescape callback is enabled, an attacker can insert arbitrary OS commands into the URL portion of HTTP GET requests. The fix, applied in version 10.1.3, removed the deprecated and non-functioning unescape callback [1], [2].
Exploitation
An attacker must be able to send HTTP GET requests to the captive portal, which typically requires network access to the portal (often unauthenticated). By injecting command separators and payloads into the URL query string, the attacker can cause the server to execute arbitrary shell commands. No prior authentication is needed if the portal is exposed [1].
Impact
Successful exploitation results in remote code execution (RCE) as the user running the OpenNDS service. This gives the attacker full control over the affected device, including the ability to modify system files, exfiltrate data, or pivot to other networks. The vulnerability affects all deployments using the vulnerable unescape callback configuration [1].
Mitigation
Update OpenNDS to version 10.1.3 or later. For OpenWrt users, the fix was included in OpenWrt master, OpenWrt 23.05, and OpenWrt 22.03 on August 28, 2023 [2]. Sierra Wireless also addressed the vulnerability in ALEOS 4.17 released in October 2023 [3]. No workarounds other than disabling the custom unescape callback or upgrading have been documented.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
4- OpenNDS/OpenNDS Captive Portaldescription
- osv-coords2 versionspkg:deb/ubuntu/opennds@10.2.0+dfsg-1build2?arch=source&distro=noblepkg:deb/ubuntu/opennds@10.2.0+dfsg-1build2?arch=source&distro=oracular
>= 0+ 1 more
- (no CPE)range: >= 0
- (no CPE)range: >= 0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.