ZeroHour

CVE-2026-75458

niche

Vertical privilege escalation (admin deletion) in XueZhiSi Open Source Exam System <= 3.9.0

CVSS 3.1
8.1 high
EPSS
<1%p18
Published
()
Modified
AI analysis

XueZhiSi Open Source Exam System versions up to and including 3.9.0 expose a teacher-end interface, POST /api/teacher/user/delete/{id}, that performs getUserById(id), setDeleted(true) and updateByIdFilter() without verifying that the calling user is authorized to delete the target account. Any authenticated user holding the teacher role (role=2) can call this endpoint with the numeric ID of an administrator account (role=3), soft-deleting that administrator. The result is a vertical privilege escalation in which a lower-privileged teacher can remove higher-privileged accounts, potentially disrupting administrator access to the system (CVSS 3.1 rates this High, 8.1, with integrity and availability impact and no confidentiality impact). All deployments of the exam system at version 3.9.0 or earlier are affected; exploitation requires an authenticated teacher account, so internet-exposed instances with self-registered or weakly controlled teacher accounts face the greatest risk. No public proof-of-concept, CISA KEV listing, or reports of in-the-wild exploitation are known, and EPSS currently estimates only a 0.3% chance of exploitation within 30 days.

What to do: Upgrade to a release newer than 3.9.0 when a patched version becomes available, and as an interim mitigation restrict access to /api/teacher/user/delete/{id} at a reverse proxy or WAF so teacher-role accounts cannot target administrator user IDs. Audit application logs for POST requests to this endpoint and review the user table for unexpectedly soft-deleted administrator (role=3) accounts, which would indicate prior abuse.

Affected
XueZhiSi Open Source Exam System<= 3.9.0
Estimated exposure
nichelikely low thousands of self-hosted instances or fewer (no public install counts available) — This is a niche Chinese open-source exam platform typically self-hosted by individual schools, training centers, and developers rather than a mass-market SaaS product, so affected deployments are plausibly in the hundreds to low thousands,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The teacher-end interface POST /api/teacher/user/delete/{id} in XueZhiSi Open Source Exam System <= 3.9.0 contains a vertical privilege escalatio vulnerability. This interface accepts a user ID and then executes getUserById(id), setDeleted(true), updateByIdFilter() in sequence, without any validation of whether the current user has the authority to delete the target user. An authenticated teacher user (role=2) can delete an administrator account (role=3), constituting a vertical privilege escalation where a lower-privileged user performs a high-privileged operation.

Weakness
CWE-639
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

In the news

No ingested article mentions this CVE yet.