DIRAC: RCE in RequestManager due to eval on untrusted input
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in DIRAC 8.0.79, DIRAC 9.0.22, DIRAC 9.1.10 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| DIRACGrid | >=6r0 <8.0.79, >=9.0.0a1 <9.0.22, >=9.1.0 <9.1.10 | ||
| pypi: DIRAC | >=6 <8.0.79, >=8.1.0a1 <9.0.22, >=9.1.0 <9.1.10 | 8.0.79, 9.0.22, 9.1.10 | |
| pypi: dirac | >=6 <8.0.79, >=8.1.0a1 <9.0.22, >=9.1.0 <9.1.10 | 8.0.79, 9.0.22, 9.1.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in DIRAC (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket