CVE-2026-136445 — JaguarJack Catch-admin (5.4.0) — CWE-915 · CWE-913
A flaw has been found in JaguarJack catch-admin up to 5.4.1. The impacted element is the function store of the file modules/Permissions/Http/Controllers/RolesController.php. Executing a manipulation can lead to dynamically-determined object attributes. It is possible to launch the attack remotely. The exploit has been published and may be used. This patch is called 3ae60d57ea6840bb33456596ad799b0a39ca94a2. It is best practice to apply a patch to resolve this issue.
A flaw has been found in JaguarJack catch-admin up to 5.4.1. The impacted element is the function store of the file modules/Permissions/Http/Controllers/RolesController.php. Executing a manipulation can lead to dynamically-determined object attributes. It is possible to launch the attack remotely. The exploit has been published and may be used. This patch is called 3ae60d57ea6840bb33456596ad799b0a39ca94a2. It is best practice to apply a patch to resolve this issue.
🎯 What is this vulnerability?
This vulnerability is a Mass Assignment flaw (CWE-913) combined with Improper Restriction of Excessive Data in a Response or Uncontrolled Resource Consumption (CWE-915, though in this context, it likely refers to the lack of restriction on which attributes can be set, leading to state corruption).
The flaw resides in the store method of the RolesController within the modules/Permissions module of the JaguarJack catch-admin framework (versions up to 5.4.1).
Technical Mechanism:
In Laravel-based applications (which catch-admin is built upon), the store method typically handles the creation of new resources (in this case, Roles). The vulnerability occurs because the controller likely uses a method like $request->all() or $request->input() directly to create or update the model without properly filtering the input through a Form Request or explicitly whitelisting allowed attributes ($fillable or $guarded properties in the Model).
Specifically, the "dynamically-determined object attributes" implies that an attacker can inject arbitrary keys into the request payload. If the Role model or associated Permission/User models do not strictly define which fields are mass-assignable, an attacker can inject sensitive fields such as:
is_super_adminoris_adminflags.permissionsarray to grant themselves (or other users) access to critical modules.- Potentially, if the logic allows, attributes that cascade to user roles, effectively allowing a low-privileged user to escalate their own privileges or modify the permission structure of the application.
- Fingerprinting: The attacker identifies the target as running
catch-admin. This can be done by:
* Checking for specific headers, cookies (e.g., - Version Enumeration: The attacker attempts to determine if the version is ≤ 5.4.1. This might be done by: * Checking for specific UI elements or API endpoints introduced in later versions. * If the version is not explicitly exposed, the attacker may attempt the exploit against any authenticated session to see if it succeeds.
- Authentication: The attacker obtains valid credentials for a low-privileged user. This could be via: * Credential stuffing/brute force (if password policies are weak). * Social engineering. * A compromised low-privilege account.
The CVSS vector PR:L (Privileges Required: Low) confirms that the attacker does not need to be an administrator; they only need a valid, low-privileged account (e.g., a basic user with access to the admin panel).
⚡ Attack Chain
1. Discovery & Reconnaissance
catch_admin_token), or JavaScript files (e.g., /admin/js/...).
* Visiting common admin paths like /admin, /admin/login, or /admin/dashboard.
* Checking the X-Powered-By header or error messages that reveal the framework.
2. Exploitation
The attacker sends a crafted HTTP POST request to the endpoint responsible for creating a new Role. Based on the file pathmodules/Permissions/Http/Controllers/RolesController.php, the endpoint is likely /admin/roles or /api/roles (exact URI is illustrative as not specified in CVE).Illustrative PoC (curl):
# Note: Replace <TOKEN> with a valid low-privileged user's authentication token/cookie
# The exact endpoint and parameter names are illustrative based on Laravel conventions for catch-admin
curl -X POST "http://<TARGET>/admin/roles" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-H "X-Requested-With: XMLHttpRequest" \
-d '{
"name": "HackedRole",
"description": "Test",
"is_super_admin": true,
"permissions": ["*"],
"user_id": <ATTACKER_USER_ID>
}'Alternative Payload (if the controller merges request data into an existing role or user):
If the store method is misconfigured to update the current user's role or if the Role model has a relationship to User that is mass-assignable, the payload might target the user's role directly:
{
"name": "NormalRole",
"is_admin": true,
"permissions": ["system.settings", "user.manage"]
}Key Technical Detail:
The success of this attack relies on the Role model (or the underlying Permission system) not having $guarded = ['*'] or a strict $fillable array that excludes sensitive fields like is_super_admin, is_admin, or direct permission assignments. The "dynamically-determined object attributes" suggests the code might be doing something like:
// Vulnerable Code Pattern (Illustrative)
$role = new Role();
$role->fill($request->all()); // Dangerous if $request contains sensitive keys
$role->save();3. Post-Exploitation
is_super_admin: true), the attacker can:store method allows role assignment to users, or if there is a separate endpoint to update user roles that is also vulnerable).
* If the store method directly updates the current user's role based on the input, the attacker immediately gains admin privileges.
🌍 Real World Impact
Confidentiality (C:N): The CVSS vector indicates No direct confidentiality impact. However, this is likely a conservative rating. In practice, privilege escalation to admin often leads to access to sensitive data (user credentials, API keys, PII). The "No" rating might reflect that the immediate action of creating a role does not directly expose data, but the consequence* (admin access) does.
* Bypass of Access Control: Low-privileged users can gain full administrative control.
* Data Breach: Admin access often leads to database dumps, exposing all user data.
* System Compromise: Admin access can lead to RCE, allowing full server compromise.
* Trust Erosion: If the admin panel is used for critical business operations, this vulnerability can lead to significant financial and reputational damage.
🛡️ Remediation & Mitigation
1. Patching
catch-admin up to and including 5.4.1.3ae60d57ea6840bb33456596ad799b0a39ca94a2. This patch likely modifies the RolesController::store method to use a Form Request for validation and mass assignment protection, or explicitly whitelists allowed attributes.catch-admin that includes this fix.2. Workarounds (If immediate patching is not possible)
WAF Rules: Implement a Web Application Firewall rule to block requests to the role creation endpoint that contain sensitive parameters likeis_super_admin, is_admin, or permissions with wildcard values ().
Example ModSecurity Rule (Illustrative):*SecRule REQUEST_URI "@rx /admin/roles" \
"id:100001,phase:2,deny,status:403,msg:'Blocked potential mass assignment attempt',log"
SecRule ARGS:name "@contains is_super_admin" \
"id:100002,phase:2,deny,status:403,msg:'Blocked sensitive parameter',log"/admin/roles endpoint to only known IP addresses of administrators.3. Detection
Web Server Logs: Look for POST requests to the role creation endpoint that include parameters likeis_super_admin, is_admin, or permissions with unusual values (e.g., , all).
Example Log Pattern:*POST /admin/roles HTTP/1.1
Content-Type: application/json
...
{"name":"...","is_super_admin":true,...}is_super_admin = 1) by non-admin users.⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query