Description
Integer overflow in the BMP::readFromStream method in the libsgl.so library in Google Android SDK m3-rc37a and earlier, and m5-rc14, allows remote attackers to execute arbitrary code via a crafted BMP file with a header containing a negative offset field.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Google Android Web Browser - '.BMP' File Integer Overflow EDB-31308 · dos · Mar 4, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 3727 third-party-advisory
- http://www.coresecurity.com/?action=item&id=2148
- androidsdk-bmpreadfromstream-int-overflow(40999) vdb-entry
- 28006 vdb-entry
- http://android-developers.blogspot.com/2008/03/android-sdk-update-m5-rc15-released.html
- 20080304 CORE-2008-0124: Multiple vulnerabilities in Google's Android SDK mailing-list