DIRAC: Pilot code downloaded over unverified HTTPS connection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 8.0.79, 9.0.22, 9.1.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
DIRAC is an interware, meaning a software framework for distributed computing. Prior to versions 8.0.79, 9.0.22, and 9.1.10, WorkloadManagementSystem/Utilities/PilotWrapper.py pilotWrapperScript uses ssl._create_unverified_context to download the second-stage pilot.tar archive without TLS certificate verification and downloads the reference checksum through the same unvalidated channel. An attacker able to redirect or intercept a grid site's network traffic through DNS or routing manipulation can substitute both the executable pilot code and its checksum, causing arbitrary code to run in the pilot context with access to pilot proxy credentials. The fixed implementation validates the server certificate through system trust and X509_CERT_DIR or the grid certificate directory. This issue is fixed in versions 8.0.79, 9.0.22, and 9.1.10.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- DIRACGrid DIRAC
From 6.20.1 · fixed in 8.0.79; From 9.0.0a1 · fixed in 9.0.22; From 9.1.0 · fixed in 9.1.10
- diracPyPI
From 6.20.1 · fixed in 8.0.79
- diracPyPI
From 8.1.0a1 · fixed in 9.0.22
- diracPyPI
From 9.1.0 · fixed in 9.1.10
- diracPyPI
From 6.20.1 · fixed in 8.0.79; From 8.1.0a1 · fixed in 9.0.22; From 9.1.0 · fixed in 9.1.10