
docker-compose up -d
VM (docker-container): 172.18.0.2
docker build -t scan11981 .
docker run -v /tmp/:/output --network exploit -t scan11981 --targets 172.18.0.2:6379 --output /output/result.txt
cat /tmp/result.txt
Vulnerability description: The vulnerability is related to command injection in Apache Airflow (versions 1.10.10 and below) when using CeleryExecutor and Redis as a broker. An attacker with access to Redis can send specially crafted tasks that Airflow workers execute as commands. This can lead to arbitrary code execution with the privileges of the user under which Airflow is running.
Risks: RCE - control over the machine.
Remediation recommendations: Update Apache Airflow, the current stable version is 3.0.1; it is also recommended to restrict access to the broker (Redis or RabbitMQ).