Zr.Admin.NET Authorization and Access Control Flaws
2026-11-15
Any authenticated user of Zr.Admin.NET can read arbitrary files from the host through the path parameter of the /common/DownloadFile endpoint, and since readable appsettings files expose the JwtSettings SecretKey, that file read can be escalated into forged administrator tokens. The endpoint sits behind the [Verify] filter and the 'common' permission, so a valid low-privilege session is sufficient - exposure is greatest on instances that issue accounts widely or allow self-registration. No public exploit code has been identified at time of analysis and there is no KEV entry, but the vendor reports a fix available and this is assessed as a prioritize-this-week issue rather than a theoretical high-score flaw.
Insecure direct object reference in Zr.Admin.NET's SysProfileController.UpdateProfile lets any authenticated user of any privilege level write profile changes to an arbitrary account by supplying another user's UserId, rather than being scoped to the caller's own record. Chained with the framework's SMS phone-login flow, an attacker can overwrite the administrator's phone number, request a code through /checkMobile and authenticate via /PhoneLogin to seize the admin account. Affected builds are the commits between af07ffc and eb9228a; exploitation requires a valid low-privileged login and, for the full takeover, an enabled and reachable SMS login path, and no public exploit code has been confirmed in the available data.
Authenticated low-privilege users of Zr.Admin.NET can read other users' workflow instances through GET /workflow/instance/{instanceId} because the endpoint does not verify that the requested instance belongs to the caller. The affected range is commit 85cff6a through eb9228a, and sequential instance IDs make enumeration straightforward, exposing approval requests, submitted form contents, applicant details and approval records. No public exploit code or confirmed active exploitation is identified, the vendor reports a patch, and the impact is confidentiality-only, making this a moderate-priority access-control issue rather than an emergency.
Zr.Admin.NET exposes scheduled-task details to any user who can log in to the web panel: the TasksController.Get handler does not enforce the monitor:job permission, so a low-privileged session can retrieve job parameters, API URLs, cron expressions, and stored SQL statements. The CPE entry carries wildcard versions, so the exposure is not tied to a single tagged release; the reporter identifies the affected range as commits 1845017 through eb9228a. Reaching the handler also requires a scheduled-task identifier, which the separately unprotected /monitor/jobLog/list endpoint supplies, making this a two-step chain that stays behind the authentication boundary; no public exploit code and no confirmed active exploitation were identified at time of analysis. Rated CVSS 3.1 5.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) by the independent assessment, this is a genuine but moderate-severity information-disclosure issue rather than a critical priority, with risk concentrated on deployments that allow low-trust or self-registered accounts.
Zr.Admin.NET lets any authenticated user flip other users' articles between private and public - and change their pin state - because the front-end article API trusts a caller-supplied UserId instead of the session identity. The affected code is present in commits e6ceaf4 through eb9228a, where a PUT to /front/article/changePublic carrying the attacker's own UserId silently applies to articles owned by others, after which the newly public article can be read anonymously via GET /front/article/{id}. Impact is limited to those two article attributes (no privilege escalation, code execution, or broader write access), exploitation requires a valid low-privileged account, and no public exploit was identified at time of analysis; priority is rated this_month.