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-2026-108677 Overview
CVE-2026-108677 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the GET /sys/api/getUserByName endpoint, which fails to enforce access controls on sensitive user data. Low-privileged authenticated users can retrieve any account's stored password ciphertext, including administrator credentials. The response is protected with AES-CBC encryption, but the key is exposed by the /sys/getEncryptedString endpoint. Attackers combine both weaknesses to decrypt administrator password material offline. Successful exploitation enables credential theft and account takeover across the platform.
Critical Impact
Any authenticated low-privileged user can harvest administrator password ciphertexts and decrypt them offline using the hard-coded AES key disclosed by the application itself.
Affected Products
- JeecgBoot versions through 3.9.5
- jeecg-module-system component (SystemApiController)
- Deployments exposing /sys/api/getUserByName and /sys/getEncryptedString
Discovery Timeline
- 2026-10-10 - CVE-2026-108677 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108677
Vulnerability Analysis
The vulnerability stems from two cooperating weaknesses in JeecgBoot's system API surface. The GET /sys/api/getUserByName handler in SystemApiController.java returns the full user record, including the stored password value, without validating the caller's role against the target account. Any authenticated session, regardless of privilege, can request records for arbitrary usernames such as admin.
The returned password field is wrapped with AES-CBC encryption that would normally obscure the ciphertext in transit. The protection collapses because /sys/getEncryptedString discloses the hard-coded AES key and initialization vector to any caller. An attacker who retrieves both values can decrypt the response locally and obtain the password ciphertext as stored. From there, offline guessing or hash cracking recovers the plaintext credential.
The weakness is categorized as [CWE-862] Missing Authorization. It converts a low-privilege foothold into a full administrator compromise without requiring further server interaction.
Root Cause
The controller method at lines 100-110 of SystemApiController.java performs no authorization check tying the authenticated principal to the requested username. The application layer trusts that only internal services call the /sys/api/* routes, yet the routes are reachable by any logged-in user. Combined with the key-disclosure endpoint, the design assumes an attacker cannot reverse the ciphertext, which does not hold.
Attack Vector
Exploitation requires network access to the JeecgBoot web interface and valid credentials for any user account, including self-registered accounts where registration is enabled. The attacker issues a GET request to /sys/api/getUserByName?username=admin, captures the encrypted password field, fetches the AES key from /sys/getEncryptedString, and decrypts the ciphertext offline. A public proof-of-concept script, poc_sys_api_credential_family.py, automates the full chain. See the GitHub PoC Repository and the VulnCheck Security Advisory for technical details.
Detection Methods for CVE-2026-108677
Indicators of Compromise
- Authenticated requests to GET /sys/api/getUserByName from accounts that have no business reason to enumerate user records.
- Paired requests to /sys/getEncryptedString and /sys/api/getUserByName from the same session within a short window.
- Repeated getUserByName lookups iterating over privileged usernames such as admin, root, or tenant administrators.
Detection Strategies
- Alert on any non-service account invoking /sys/api/* endpoints, which are intended for backend-to-backend calls.
- Correlate successful administrator logins with prior low-privilege reads of the same account's record.
- Hunt for outbound traffic patterns matching the public PoC script poc_sys_api_credential_family.py in web access logs.
Monitoring Recommendations
- Forward JeecgBoot application and reverse-proxy logs to a centralized analytics pipeline for query-based hunting.
- Baseline normal usage of /sys/api/getUserByName and alert on volume or diversity spikes.
- Track administrator password resets following any observed access to the vulnerable endpoint.
How to Mitigate CVE-2026-108677
Immediate Actions Required
- Restrict /sys/api/* routes at the reverse proxy or ingress to internal source addresses only.
- Disable or firewall the /sys/getEncryptedString endpoint to prevent AES key disclosure.
- Rotate all administrator and privileged user passwords, assuming the ciphertexts may already be exposed.
- Audit application logs for prior access to getUserByName and investigate any matching sessions.
Patch Information
At the time of publication, no fixed JeecgBoot release addressing CVE-2026-108677 is referenced in the NVD entry. Monitor the JeecgBoot repository and the VulnCheck Security Advisory for upstream remediation.
Workarounds
- Add an authorization filter that rejects /sys/api/getUserByName calls unless the caller holds an administrative role.
- Remove or require authentication plus role checks on /sys/getEncryptedString, and replace the hard-coded AES key with per-deployment secrets.
- Enforce strong password policies and multi-factor authentication for administrator accounts to blunt offline cracking.
# Example NGINX restriction limiting /sys/api/ to internal networks
location /sys/api/ {
allow 10.0.0.0/8;
allow 192.168.0.0/16;
deny all;
proxy_pass http://jeecgboot_backend;
}
location = /sys/getEncryptedString {
deny all;
return 403;
}
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

