CVE-2024-51378: Cyberpanel Preauth Cmdinjection Via Request Body

View function reads JSON from `request.body` and concatenates a value from it into a shell command passed to `ProcessUtilities.outputExecutioner` / `ProcessUtilities.executioner` without first performing an in-view authentication/ACL check (`request.session['userID']` followed by `ACLManager.loadedACL(...)`). This is the CVE-2024-51378 pattern: because the p

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Python
greprules fetch cve-2024-51378-cyberpanel-preauth-cmdinjection-via-request-body --engine opengrep

Description

View function reads JSON from `request.body` and concatenates a value from it into a shell command passed to `ProcessUtilities.outputExecutioner` / `ProcessUtilities.executioner` without first performing an in-view authentication/ACL check (`request.session['userID']` followed by `ACLManager.loadedACL(...)`). This is the CVE-2024-51378 pattern: because the p