Description
luci-app-banip contains a log parsing vulnerability where the awk-based parser extracts the first IPv4 address from log lines regardless of field position, allowing attackers to inject arbitrary IPs via attacker-controlled fields like usernames. An unauthenticated remote attacker can inject an IP address into the login username field, causing banIP to block the wrong target while the real attacker remains unblocked.
Published: 2026-07-13
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

luci‑app‑banip uses an awk‑based routine that extracts the first IPv4 address it encounters in a log line, ignoring the field position. This string handling flaw (CWE‑116) permits an attacker to place an arbitrary IP address in a user‑supplied field such as the login username. When this login data is processed, the parser interprets the attacker‑supplied IP as the target to block. The result is that the intended network resource is not protected while the attacker’s own address remains open, effectively subverting the router’s firewall. The flaw can lead to unauthorized network access and denial of the legitimate target’s web presence.

Affected Systems

The vulnerability resides in the OpenWrt package luci-app-banip. Version information for the affected releases is not supplied in the CVE data.; any deployment of this package where the log‑extraction feature is enabled is potentially impacted.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity flaw. The EPSS score of less than 1% suggests that exploit attempts are very rare, yet the vulnerability remains exploitable by an uneuthenticated remote attacker who can inject IP addresses through the web interface. Since the vulnerability is not listed in the CISA KEV catalog, no widespread exploit campaigns have been identified yet, but the impact of a successful attempt—permanent incorrect blocking of legitimate hosts—is significant. The attack vector is inferred to be remote through the web UI, requiring no authenticated access.

Generated by OpenCVE AI on July 31, 2026 at 11:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade luci‑app‑banip to the patched revision found in commit d9bbc372e29618a8807b693a1ccf6d0e42cd196c, which corrects the log‑parsing routine.
  • If an immediate patch is unavailable, restrict web interface access to trusted administrative networks or VPNs to limit exposure to unauthenticated remote users.
  • Disable the log‑based IP extraction feature in banIP until the fix is applied; confirm the feature is turned off by verifying the relevant configuration setting.

Generated by OpenCVE AI on July 31, 2026 at 11:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci

Mon, 13 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description luci-app-banip contains a log parsing vulnerability where the awk-based parser extracts the first IPv4 address from log lines regardless of field position, allowing attackers to inject arbitrary IPs via attacker-controlled fields like usernames. An unauthenticated remote attacker can inject an IP address into the login username field, causing banIP to block the wrong target while the real attacker remains unblocked.
Title luci-app-banip Log Monitor IP Extraction Bypass
Weaknesses CWE-116
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T18:45:50.565Z

Reserved: 2026-07-13T16:36:32.094Z

Link: CVE-2026-62184

cve-icon Vulnrichment

Updated: 2026-07-15T18:45:27.153Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:30:05Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output