EXIF security problem
Digital cameras store small image called "thumbnail" inside big image content. Usually
this image gets lost in later image processing, but sometimes thumbnail contain sensitive
information cropped off from big image.
This script allows you to view this EXIF data for possible sensitive information leaks.
Original picture:
EXIF Thumbnail:
Image contains headers
FILE.FileDateTime: 0
FILE.FileSize: 46357
FILE.FileType: 2
FILE.MimeType: image/jpeg
FILE.SectionsFound: ANY_TAG, IFD0, THUMBNAIL, EXIF, GPS, INTEROP
COMPUTED.html: width="200" height="133"
COMPUTED.Height: 133
COMPUTED.Width: 200
COMPUTED.IsColor: 1
COMPUTED.ByteOrderMotorola: 0
COMPUTED.ApertureFNumber: f/2.8
COMPUTED.UserComment:
COMPUTED.UserCommentEncoding: ASCII
COMPUTED.Thumbnail.FileType: 2
COMPUTED.Thumbnail.MimeType: image/jpeg
IFD0.ImageWidth: 200
IFD0.ImageLength: 133
IFD0.DocumentName: _DSC2657
IFD0.Make: NIKON CORPORATION
IFD0.Model: NIKON D300
IFD0.Orientation: 1
IFD0.XResolution: 72/1
IFD0.YResolution: 72/1
IFD0.ResolutionUnit: 2
IFD0.Software: http://www.idimager.com
IFD0.DateTime: 2008:10:18 13:28:54
IFD0.WhitePoint: Array
(
[0] => 313/1000
[1] => 329/1000
)
IFD0.PrimaryChromaticities: Array
(
[0] => 64/100
[1] => 33/100
[2] => 21/100
[3] => 71/100
[4] => 15/100
[5] => 6/100
)
IFD0.YCbCrCoefficients: Array
(
[0] => 299/1000
[1] => 587/1000
[2] => 114/1000
)
IFD0.YCbCrPositioning: 2
IFD0.Exif_IFD_Pointer: 284
IFD0.GPS_IFD_Pointer: 8
THUMBNAIL.Compression: 6
THUMBNAIL.XResolution: 300/1
THUMBNAIL.YResolution: 300/1
THUMBNAIL.ResolutionUnit: 2
THUMBNAIL.JPEGInterchangeFormat: 9570
THUMBNAIL.JPEGInterchangeFormatLength: 5759
THUMBNAIL.YCbCrPositioning: 2
EXIF.ExposureTime: 10/80000
EXIF.FNumber: 28/10
EXIF.ExposureProgram: 3
EXIF.ISOSpeedRatings: 200
EXIF.ExifVersion: 1220
EXIF.DateTimeOriginal: 2012:02:05 14:34:08
EXIF.DateTimeDigitized: 2012:02:05 14:34:08
EXIF.ComponentsConfiguration:
EXIF.CompressedBitsPerPixel: 4/1
EXIF.ExposureBiasValue: 0/6
EXIF.MaxApertureValue: 30/10
EXIF.MeteringMode: 3
EXIF.LightSource: 0
EXIF.Flash: 0
EXIF.FocalLength: 170/10
EXIF.MakerNote: Nikon
EXIF.UserComment: ASCII
EXIF.SubSecTime: 94
EXIF.SubSecTimeOriginal: 94
EXIF.SubSecTimeDigitized: 94
EXIF.FlashPixVersion: 0010
EXIF.ColorSpace: 65535
EXIF.ExifImageWidth: 200
EXIF.ExifImageLength: 133
EXIF.InteroperabilityOffset: 253
EXIF.SensingMethod: 2
EXIF.FileSource:
EXIF.SceneType:
EXIF.CFAPattern:
EXIF.CustomRendered: 0
EXIF.ExposureMode: 0
EXIF.WhiteBalance: 0
EXIF.DigitalZoomRatio: 1/1
EXIF.FocalLengthIn35mmFilm: 25
EXIF.SceneCaptureType: 0
EXIF.GainControl: 0
EXIF.Contrast: 0
EXIF.Saturation: 0
EXIF.Sharpness: 2
EXIF.SubjectDistanceRange: 0
EXIF.UndefinedTag:0xA500: 22/10
GPS.GPSLatitudeRef: N
GPS.GPSLatitude: Array
(
[0] => 51/1
[1] => 7/1
[2] => 14151/250
)
GPS.GPSLongitudeRef: E
GPS.GPSLongitude: Array
(
[0] => 1/1
[1] => 20/1
[2] => 33017/756
)
GPS.GPSAltitudeRef:
GPS.GPSAltitude: 75/1
GPS.GPSTimeStamp: Array
(
[0] => 12/1
[1] => 28/1
[2] => 55/1
)
GPS.GPSImgDirectionRef: T
GPS.GPSImgDirection: 0/1
GPS.GPSMapDatum: WGS-84
GPS.GPSDateStamp: 2008-10-18
INTEROP.InterOperabilityIndex: R03
INTEROP.InterOperabilityVersion: 0010