
DoS funzionante per CVE-2025-15467 e un contenitore docker per testare
Stack buffer overflow in OpenSSL CMS AuthEnvelopedData parsing.
Un overflow del buffer di stack esiste in evp_cipher_get_asn1_aead_params() durante l'analisi dei parametri di cifratura AEAD (ad es. AES-GCM) nel contenuto CMS AuthEnvelopedData. Un IV sovradimensionato provoca un overflow di un buffer di stack di 16 byte, causando denial of service e potenzialmente esecuzione di codice remoto.
| Ramo | Vulnerabile | Corretta |
|---|---|---|
| 3.6.x | 3.6.0 | 3.6.1+ |
| 3.5.x | 3.5.0-3.5.4 | 3.5.5+ |
| 3.4.x | 3.4.0-3.4.3 | 3.4.4+ |
| 3.3.x | 3.3.0-3.3.5 | 3.3.6+ |
| 3.0.x | 3.0.0-3.0.18 | 3.0.19+ |
OpenSSL 1.x non è interessato.
.
├── README.md
├── dos.py # Exploit DoS
└── vulnerable_service/
├── Dockerfile # Crea il servizio di test vulnerabile
├── entrypoint.sh # Entrypoint del container
└── cms_server.c # Parser HTTP CMS vulnerabile
cd vulnerable_service
docker build -t vuln-cms .
docker run --rm -p 8080:8080 --privileged vuln-cms
python3 dos.py <host> <port>
# Example:
python3 dos.py localhost 8080