CVE-2025-15122
Unknown Unknown - Not Provided
Improper Authorization in JeecgBoot loadDatarule Function

Publication date: 2025-12-28

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in JeecgBoot up to 3.9.0. The impacted element is the function loadDatarule of the file /sys/sysDepartRole/datarule/. Performing manipulation of the argument departId/roleId results in improper authorization. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is regarded as difficult. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-28
Last Modified
2026-04-29
Generated
2026-06-16
AI Q&A
2025-12-28
EPSS Evaluated
2026-06-14
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
jeecg jeecgboot 3.9.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-285 The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
CWE-266 A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in JeecgBoot up to version 3.9.0, specifically in the loadDatarule function of the /sys/sysDepartRole/datarule/ file. It involves improper authorization caused by manipulation of the departId or roleId arguments. An attacker can exploit this remotely, although the attack is considered to have high complexity and difficult exploitability.

Impact Analysis

The vulnerability allows an attacker to bypass proper authorization controls by manipulating certain parameters, potentially gaining unauthorized access to data or functions within the system. Since the exploit is public, there is a risk of remote attacks, but the complexity and difficulty of exploitation reduce the likelihood of widespread impact.

Compliance Impact

The provided resources do not explicitly discuss the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA. However, since the vulnerability allows unauthorized cross-tenant access to sensitive data permission rules and organizational structure information, it could potentially lead to violations of data protection and privacy regulations by exposing sensitive information without proper authorization. This unauthorized data disclosure could undermine compliance with standards that require strict access controls and data confidentiality. [1, 2, 3]

Detection Guidance

This vulnerability can be detected by monitoring and analyzing API requests to the endpoint `GET /sys/sysDepartRole/datarule/{permissionId}/{departId}/{roleId}` for unauthorized or suspicious access patterns. Specifically, look for requests where the `departId` and `roleId` parameters do not belong to the tenant of the authenticated user, indicating possible cross-tenant data access attempts. Commands to detect such activity could include capturing HTTP traffic with tools like curl or using network monitoring tools to log and inspect requests. For example, you can use curl to test the endpoint with various IDs to see if unauthorized data is returned: `curl -i -H 'Authorization: Bearer <token>' 'https://<target>/sys/sysDepartRole/datarule/<permissionId>/<departId>/<roleId>'`. Additionally, implement audit logging on the server side to record all queries to this API and review logs for unauthorized access attempts. [1, 2]

Mitigation Strategies

Immediate mitigation steps include: 1) Implement tenant ownership validation by verifying that the `departId` belongs to the current user's tenant before processing the request. 2) Validate that the `roleId` corresponds to the specified `departId`. 3) Enforce tenant ID filtering in all queries related to data permission rules to prevent cross-tenant data disclosure. 4) Restrict access to the vulnerable API endpoint to only department administrators or system administrators. 5) Enable audit logging for all data permission rule queries to monitor and detect unauthorized access attempts. If possible, update or patch the affected software version or consider replacing the product if no patch is available. [1, 2]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-15122. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart