DRD Agent - Critical - Remote File Inclusion / Remote Code Execution
Project
Date
Severity
Critical
Affected versions
<7.x-3.7
The `drd_agent` module builds a `.phar` filename from the attacker-controlled `HTTP_X_DRD_VERSION` request header, fetches it over HTTPS, writes it to `temporary://`, and `require_once`s it, all with no authentication, signature, or secret check before the inclusion, allowing an unauthenticated attacker to influence the included path. Because the fetch is over HTTPS from a trusted host, standalone code execution is not achievable; chaining to remote code execution requires an additional precondition (a separate file-write primitive that plants a `.phar`, or compromise of the trusted host).