DIRACGrid DIRAC
DIRAC: RCE in RequestManager due to eval on untrusted input
DIRAC is an interware, meaning a software framework for distributed computing. Prior to versions 8.0.79, 9.0.22, and 9.1.10, the RequestManagementSystem/Service/ReqManagerHandler.py export_getRequestCountersWeb function passes an authenticated caller-controlled groupingAttribute to RequestManagementSystem/DB/RequestDB.py getRequestCountersWeb. An unrecognized value is resolved against the Request object and evaluated as Python code, allowing a crafted dunder attribute expression to reach operating-system functions and execute commands as the account running the DIRAC services. Successful exploitation can expose dirac.cfg, database passwords, stored proxies, and tokens, fully compromise the DIRAC system, and allow alteration of local log evidence. This issue is fixed in versions 8.0.79, 9.0.22, and 9.1.10.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6r0, < 8.0.79
- >= 9.0.0a1, < 9.0.22
- >= 9.1.0, < 9.1.10
Fixed in 8.0.79, 9.0.22, 9.1.10
Mitigation
Upgrade DIRAC to 8.0.79 or 9.0.22 or 9.1.10 or later.
References
- Vendor advisory github.com/DIRACGrid/DIRAC/security/advisories…
- Patch github.com/DIRACGrid/DIRAC/commit/8ec11072f481…
- Patch github.com/DIRACGrid/DIRAC/commit/99f1af88b525…
4 more
- Patch github.com/DIRACGrid/DIRAC/commit/a6f75ce5d369…
- Release notes github.com/DIRACGrid/DIRAC/releases/tag/v8.0.7…
- Release notes github.com/DIRACGrid/DIRAC/releases/tag/v9.0.2…
- Release notes github.com/DIRACGrid/DIRAC/releases/tag/v9.1.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.