Skip to content
CVE-2026-137043 IBM QRadar · QRadar

Detect TOTOLINK N350RT setLanguageCfg Authorization Bypass (CVE-2026-137043) in IBM QRadar

Detects exploitation attempts against the authorization bypass vulnerability (CWE-285 Improper Authorization, CWE-639 Authorization Bypass Through User-Controlled Key) in the setLanguageCfg function of the file /cgi-bin/cstecgi.cgi in TOTOLINK N350RT firmware 9.3.5u.6468_B20250827 and 9.3.5u.6466_B20250825. Manipulation of the lang argument allows an attacker to bypass authorization and change device configuration. The attack can be carried out remotely. A public proof-of-concept exists. The CVSS base score is 9.3. Because TOTOLINK SOHO routers rarely emit rich endpoint logs, detection focuses on network, proxy, and WAF telemetry for HTTP requests referencing the setLanguageCfg handler from untrusted sources.

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation

QRadar Detection Query

IBM QRadar (QRadar)
sql
-- df00tech DF00-70c1dffda3 · https://df00tech.com/detections/CVE-2026-137043 · licence: https://df00tech.com/detections/licence
SELECT sourceip, destinationip, "URL" AS req_url, "Request Method" AS method, COUNT(*) AS request_count FROM events WHERE ("URL" ILIKE '%setLanguageCfg%' OR ("URL" ILIKE '%/cgi-bin/%' AND "URL" ILIKE '%LanguageCfg%') OR "URL" ILIKE '%/boafrm/%setLanguageCfg%') AND qid IN (SELECT qid FROM qidname WHERE qidname ILIKE '%HTTP%' OR qidname ILIKE '%Web%') GROUP BY sourceip, destinationip, req_url, method ORDER BY request_count DESC LAST 24 HOURS
critical severity medium confidence

QRadar AQL query over proxy/web log events to surface requests to the vulnerable setLanguageCfg handler on TOTOLINK devices.

Data Sources

Proxy LogsWeb Server LogsFirewall Logs

Required Tables

events

False Positives & Tuning

  • Sanctioned vulnerability scanners querying the device
  • Legitimate language-setting changes by network administrators
  • Asset-management tooling fingerprinting the router's HTTP service

Other platforms for CVE-2026-137043


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulate unauthenticated setLanguageCfg request (CGI endpoint)

    Expected signal: Proxy/WAF/firewall log entry showing an HTTP POST to /cgi-bin/cstecgi.cgi with a body referencing setLanguageCfg from the test source IP.

  2. Test 2 Simulate setLanguageCfg request via boa endpoint

    Expected signal: Network/proxy log showing an HTTP request to /boafrm/formLanguage referencing setLanguageCfg.

  3. Test 3 Simulate scanner-style enumeration of TOTOLINK Cfg handlers

    Expected signal: Multiple HTTP POSTs from a single source IP to /cgi-bin/cstecgi.cgi referencing several *Cfg* topicurls in a short window.


Response Playbook

Triage

  1. Identify the source IP issuing the setLanguageCfg request and determine whether it is internal, a known scanner, or an untrusted external host.
  2. Confirm the destination is a TOTOLINK N350RT device running firmware 9.3.5u.6468_B20250827 or 9.3.5u.6466_B20250825 by checking asset inventory and device banner/firmware version.
  3. Inspect the full HTTP request (method, body, headers) to determine whether a valid authenticated session token was present or whether the authorization check was bypassed.
  4. Correlate the timing of the request with any subsequent configuration changes, reboots, or new administrative sessions on the device.

Containment

  1. Block the offending source IP at the perimeter firewall and restrict management-plane access to the router to trusted admin VLANs only.
  2. Isolate the affected TOTOLINK device from the internet and disable remote (WAN-side) HTTP management until patched.
  3. If unauthorized configuration changes are confirmed, take the device offline and restore a known-good configuration or factory-reset and reconfigure from trusted baseline.

Evidence Collection

  1. Capture the raw HTTP request/response pairs targeting setLanguageCfg from proxy, WAF, or packet-capture sources.
  2. Export the device's current running configuration and compare it against the last-known-good baseline to detect tampering.
  3. Preserve firewall/proxy logs showing the source IP, timestamps, and request volume for the investigation window.

Escalation Criteria

  • !Escalate to incident response if the request originated from an external/untrusted IP and resulted in observable configuration changes or new admin sessions.
  • !Escalate if multiple TOTOLINK devices across the estate show the same setLanguageCfg request pattern, indicating a coordinated campaign.
  • !Escalate to network engineering and management if the device cannot be patched and must remain in service, requiring compensating controls.

Investigation Guide

Forensic Artifacts

  • >TOTOLINK device web server / boa access logs (if enabled) showing requests to setLanguageCfg
  • >Perimeter firewall/proxy connection logs recording the source IP and request path
  • >Device running-configuration snapshots and NVRAM state reflecting unauthorized language/config changes

Tuning Guidance

Baseline the known administrator and monitoring source IPs that legitimately access the router web UI and exclude them from alerting. Allow-list sanctioned vulnerability scanners. A public proof-of-concept exists and TOTOLINK devices emit sparse logs, so favor network/proxy/WAF-sourced detection and tune on the destination being a confirmed TOTOLINK N350RT asset to reduce noise. Lower the request_count threshold only if you require detection of single-shot exploitation attempts; raise it to focus on brute-force or scanning behavior.


Hunting Queries

Broadly hunts for requests to TOTOLINK CGI/boa *Cfg* handlers over a 7-day window to surface reconnaissance or exploitation of related authorization-bypass endpoints beyond setLanguageCfg alone.

Hunting — KQL
kql
// df00tech DF00-70c1dffda3 · https://df00tech.com/detections/CVE-2026-137043 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where TimeGenerated > ago(7d) | extend ReqUrl = column_ifexists("RequestURL", "") | where ReqUrl has_any ("/cgi-bin/", "/boafrm/") and ReqUrl has "Cfg" | summarize count() by SourceIP, ReqUrl | order by count_ desc
Hunting — SPL
spl
``` df00tech DF00-70c1dffda3 · https://df00tech.com/detections/CVE-2026-137043 · licence: https://df00tech.com/detections/licence ```
index=proxy OR index=network | eval url=coalesce(url, uri_path, http_url) | search url="*/cgi-bin/*Cfg*" OR url="*/boafrm/*Cfg*" | stats count by src_ip, url | sort - count

Atomic Red Team Tests

Test 1 Simulate unauthenticated setLanguageCfg request (CGI endpoint)
linux

Sends an HTTP POST to the setLanguageCfg handler on a lab TOTOLINK device or emulated endpoint without a valid session token to reproduce the authorization-bypass request pattern.

Command

bash
curl -s -X POST 'http://192.0.2.10/cgi-bin/cstecgi.cgi' -H 'Content-Type: application/json' -d '{"topicurl":"setLanguageCfg","langFlag":"1","langType":"en"}'

Cleanup

bash
echo 'No persistent artifacts created by the request; reset device language via admin UI if changed in a lab.'

Expected Telemetry

Proxy/WAF/firewall log entry showing an HTTP POST to /cgi-bin/cstecgi.cgi with a body referencing setLanguageCfg from the test source IP.

Expected Detection

The kql/spl/network rules fire on the setLanguageCfg request path.

Test 2 Simulate setLanguageCfg request via boa endpoint
linux

Emulates the exploit by requesting the setLanguageCfg handler through the /boafrm/ form handler path used by TOTOLINK boa-based firmware.

Command

bash
curl -s -X POST 'http://192.0.2.10/boafrm/formLanguage?topicurl=setLanguageCfg&langType=en'

Cleanup

bash
echo 'No cleanup required; lab-only emulated request.'

Expected Telemetry

Network/proxy log showing an HTTP request to /boafrm/formLanguage referencing setLanguageCfg.

Expected Detection

Detection rules match the /boafrm/ setLanguageCfg pattern.

Test 3 Simulate scanner-style enumeration of TOTOLINK Cfg handlers
linux

Issues a sequence of requests to multiple TOTOLINK *Cfg* CGI handlers to emulate automated exploitation/recon and validate the hunting query.

Command

bash
for f in setLanguageCfg setSysTimeCfg setWanCfg; do curl -s -X POST "http://192.0.2.10/cgi-bin/cstecgi.cgi" -d "{\"topicurl\":\"$f\"}"; done

Cleanup

bash
echo 'Lab-only; restore device configuration from baseline if any setting changed.'

Expected Telemetry

Multiple HTTP POSTs from a single source IP to /cgi-bin/cstecgi.cgi referencing several *Cfg* topicurls in a short window.

Expected Detection

The hunting query surfaces the burst of *Cfg* handler requests from the single source IP.

Related Detections