lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090724054719.GA21846@lboro.ac.uk>
Date: Fri, 24 Jul 2009 06:47:19 +0100
From: A.L.M.Buxey@...ro.ac.uk
To: Murthy N Srinivas-B22237 <ssmurthy.nittala@...escale.com>
Cc: full-disclosure@...ts.grok.org.uk
Subject: Re: memory required for a PNG file

Hi,
> Hi
> How do we calculate memory required for a PNG file from the dimensions
> of width and height contained in the file?
> It seems that attackers make use width and height to take control of
> clients.

just from H+W? you cant - you'd have to know oher things such as
depth, alpha layer presence, ancillary data container, gamma info.
given that most attacks using images are using some buffer overflow
in the parser you *might* be able to write your own 'PNG viewer'
that would check the the image is sane and hope you hadnt
coded any mistakes too... ;-)

alan

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ