Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege ZS-Admin credentials
-
DeliveryAuthenticate and obtain session token
-
ExploitCraft HTTP request to /api/system/sys/dept/page with injected orderField payload
-
ExecutionORDER BY clause executes injected SQL in backend database
-
ImpactExtract schema or data via blind or error-based inference
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session with at least low-privilege access to the ZS-Admin application, as confirmed by the CVSS 4.0 PR:L metric. The specific attack surface is the orderField request parameter passed to the OrderItem.asc or OrderItem.desc sorting functions at the /api/system/sys/dept/page endpoint of the SysDeptController - this is part of default department management functionality and does not require any non-default configuration to be enabled. Exploitation is bounded by: (1) the authentication requirement - anonymous unauthenticated users cannot reach this endpoint; (2) the database permissions of the application service account, which determine the scope of data accessible via injection; and (3) the database driver's handling of stacked queries, which may restrict some injection techniques. No special platform, network topology, or feature flag is required beyond a standard ZS-Admin deployment with at least one active user account. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) positions this as network-exploitable with low complexity and no special attack conditions, but requiring a valid low-privilege authenticated session. The impact is rated Low across all three pillars (VC:L/VI:L/VA:L), consistent with partial database read/write access rather than full system compromise - typical for ORDER BY injection where full UNION-based or stacked queries may be restricted by the database driver configuration. The E:P exploit maturity modifier confirms public exploit evidence, elevating real-world urgency beyond the moderate 5.3 base score. No CISA KEV listing is present, and no EPSS score was provided, so widespread active exploitation is not confirmed. However, the combination of public POC, zero vendor response, and a rolling release model with no patchable target version means the exposure window is indefinite. The primary risk limiter is the PR:L authentication requirement - environments where ZS-Admin accounts are broadly distributed face materially higher risk than those with strict access control. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege ZS-Admin account crafts an HTTP request to /api/system/sys/dept/page, injecting a SQL payload into the orderField parameter - for example, appending a time-based blind inference expression to infer database contents character by character. Because OrderItem.asc and OrderItem.desc concatenate this value directly into the ORDER BY clause, the database executes the injected expression. A public exploit has been disclosed via the project's GitHub issue, reducing the skill threshold for reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 21, 2026
SQL injection in ZS-Admin (zsadmin2025) exposes authenticated remote attackers to database manipulation via the orderField parameter in the department pagination API. The vulnerable sorting functions OrderItem.asc and OrderItem.desc in SysDeptController accept unsanitized input and construct ORDER BY clauses through string concatenation, enabling injection against all instances up to commit b52e14536d59fda11e56e2536a1c32e82a38cead. A public exploit has been disclosed through the project's own GitHub issue tracker, and no vendor response or patch has been issued at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the maintainer was notified via a GitHub issue but has not responded. Operators should monitor https://github.com/zsadmin2025/zs-admin-java for commits that remediate the orderField parameter handling in SysDeptController. As an immediate compensating control, restrict access to the /api/system/sys/dept/page endpoint to the smallest possible set of trusted administrative accounts, reducing the attack surface by limiting who can supply the orderField parameter. Deploying a WAF rule targeting ORDER BY injection patterns (e.g., blocking SQL keywords such as SLEEP, BENCHMARK, UNION, or comment sequences in the orderField value) can further reduce exposure, though aggressive rules may block legitimate sort requests and should be validated against normal usage first. The correct long-term fix is to replace dynamic ORDER BY construction with an explicit allowlist of permitted column names validated server-side - this can be applied as a local patch to the SysDeptController pending upstream action.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ZS-Admin is a Java-based administrative framework (package com.zs.sys.dept.controller.SysDeptController) following an MVC controller pattern. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) is the root cause: the orderField argument supplied by the client is passed directly into a dynamic ORDER BY clause via the OrderItem.asc and OrderItem.desc utility functions without parameterization or allowlist validation. ORDER BY injection is a specific and commonly overlooked SQL injection variant - because parameterized queries cannot be used for ORDER BY direction and column names in most SQL dialects, developers must validate against an explicit allowlist. Failure to do so allows attackers to inject arbitrary SQL expressions. The affected endpoint is /api/system/sys/dept/page, responsible for department listing with sort functionality. Affected CPE: cpe:2.3:a:zsadmin2025:zs-admin:*:*:*:*:*:*:*:*.
Know when Zs Admin 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
PR:L required for authenticated session; S:U as no scope change indicated; C/I/A Low reflects partial DB access typical of ORDER BY injection without confirmed full extraction.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in zsadmin2025 ZS-Admin up to b52e14536d59fda11e56e2536a1c32e82a38cead. The impacted element is the function OrderItem.asc/OrderItem.desc of the file /api/system/sys/dept/page of the component com.zs.sys.dept.controller.SysDeptController. This manipulation of the argument orderField causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Authorization bypass in ZS-Admin's multi-tenant API layer allows authenticated remote attackers to read department listi
Unrestricted file upload in ZS-Admin (zsadmin2025/zs-admin-java) exposes the /api/system/file/upload API endpoint to mal
EUVD-2026-46276
GHSA-q7m3-2546-c4w2
NVD
CVE.org
EPSS
VulDB
Exploit-DB