
VeloCloud Orchestrator session elevation + unsanitized diagnostics RCE
Auth bypass to operator-level privilege escalation + remote command execution on on-prem VeloCloud Orchestrator.
Any authenticated user (including lowest-privilege Enterprise Read-Only) can escalate to local “superuser operator” and reach internal endpoints that execute arbitrary OS commands.
Once operator context is obtained the exploit issues a single authenticated request that writes and executes a command via the operator diagnostic flag.
The /rest/operator/role and /api/v1/session/elevate endpoints accept a valid session token and blindly apply the operator / superuser claim without re-validating the original role binding stored in the backend.
After the elevated token is issued, the operator diagnostic handler (/rest/diagnostics/run) passes the cmd parameter directly to a shell without sanitization when the caller holds the elevated claim.
pip install -r requirements.txt
python3 exploit.py -t https://vco.example.com \
-u [email protected] \
-p 'Password123!' \
--cmd 'id'
Optional flags:
--proxy http://127.0.0.1:8080--timeout 15-o output.txt