Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-3849 Overview
CVE-2025-3849 affects YXJ2018 SpringBoot-Vue-OnlineExam version 1.0, an open-source online examination platform. The vulnerability resides in the /api/studentPWD endpoint, where manipulation of the studentId parameter enables an unverified password change [CWE-620]. Attackers can reset a target student account's password without supplying the current password or any additional verification.
The flaw is remotely exploitable over the network and requires only low-privilege authentication. Public disclosure through VulDB and the project's GitHub issue tracker increases the likelihood of opportunistic exploitation.
Critical Impact
An authenticated attacker can change arbitrary student account passwords by submitting a crafted request to /api/studentPWD, enabling full account takeover of student accounts in the application.
Affected Products
- YXJ2018 SpringBoot-Vue-OnlineExam 1.0
- Any downstream deployments built on this codebase
- Forked distributions that inherit the vulnerable /api/studentPWD handler
Discovery Timeline
- 2025-04-22 - CVE-2025-3849 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-3849
Vulnerability Analysis
The vulnerability is an unverified password change weakness in the /api/studentPWD REST endpoint of the SpringBoot-Vue-OnlineExam web application. The endpoint accepts a studentId argument and processes a password change without validating that the requester owns the targeted account or possesses the current password.
Because the application exposes the endpoint over HTTP and performs no identity-binding check between the authenticated session and the studentId value, any authenticated user can target any student account. The resulting account takeover compromises exam integrity, grades, and personally identifiable information stored in the student profile.
Root Cause
The root cause is a missing authorization and verification check [CWE-620]. The password-reset handler trusts the studentId parameter supplied by the client rather than deriving the identity from the authenticated session context. The application also omits a required current-password confirmation before persisting the new credential.
Attack Vector
Exploitation requires network access to the application and a low-privileged authenticated session. The attacker sends an HTTP request to /api/studentPWD specifying the victim's studentId and a chosen new password. The server applies the change without re-authenticating the user or validating ownership. No user interaction from the victim is required.
The vulnerability mechanism is described in the public GitHub Issue #74 and the VulDB entry #305776. No verified proof-of-concept code is published in these references.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-3849
Indicators of Compromise
- HTTP requests to /api/studentPWD where the studentId parameter does not match the authenticated session's user identifier.
- Unexpected password change events on student accounts without a corresponding user-initiated workflow or password-reset email.
- Login anomalies such as successful authentications from new geolocations immediately following a password modification.
Detection Strategies
- Instrument the password-change controller to log the authenticated principal alongside the studentId parameter, and alert when they diverge.
- Review web server and reverse-proxy access logs for repeated POST or PUT requests to /api/studentPWD from a single source.
- Correlate password-change events with subsequent exam-attempt or grade-modification activity in application audit logs.
Monitoring Recommendations
- Forward application and reverse-proxy logs to a centralized SIEM for rule-based alerting on /api/studentPWD activity.
- Track per-user password-change frequency and alert on bursts that exceed a defined baseline.
- Monitor failed and successful logins immediately following password changes to identify suspected account takeovers.
How to Mitigate CVE-2025-3849
Immediate Actions Required
- Restrict access to /api/studentPWD at the reverse-proxy or web application firewall layer until a code-level fix is deployed.
- Force a password reset for all student accounts and invalidate active sessions.
- Review audit logs for suspicious password-change activity dating back to the deployment date.
Patch Information
As of the last NVD update on 2026-06-17, the upstream project has not published a formal patched release. Track the vendor's GitHub Issue #74 for remediation status. Organizations running the application should apply a local source-code fix that derives the target studentId from the authenticated session and requires the current password before accepting a new one.
Workarounds
- Modify the password-change handler to ignore any client-supplied studentId and use the session's authenticated user identifier instead.
- Require submission and verification of the current password before persisting a new password.
- Add server-side authorization checks that reject requests where the acting principal does not own the targeted account.
- Block or rate-limit requests to /api/studentPWD at the WAF while a code fix is being prepared.
# Example NGINX restriction limiting /api/studentPWD to internal admin network
location = /api/studentPWD {
allow 10.0.0.0/8; # internal admin range
deny all;
proxy_pass http://backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

