
1979 changes to exploits/shellcodes Couchdb 1.5.0 - 'uuids' Denial of Service Apache CouchDB 1.5.0 - 'uuids' Denial of Service Beyond Remote 2.2.5.3 - Denial of Service (PoC) udisks2 2.8.0 - Denial of Service (PoC) Termite 3.4 - Denial of Service (PoC) SoftX FTP Client 3.3 - Denial of Service (PoC) Silverstripe 2.3.5 - Cross-Site Request Forgery / Open redirection SilverStripe CMS 2.3.5 - Cross-Site Request Forgery / Open Redirection Silverstripe CMS 3.0.2 - Multiple Vulnerabilities SilverStripe CMS 3.0.2 - Multiple Vulnerabilities Silverstripe CMS 2.4 - File Renaming Security Bypass SilverStripe CMS 2.4 - File Renaming Security Bypass Silverstripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities SilverStripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities Silverstripe CMS 2.4.7 - 'install.php' PHP Code Injection SilverStripe CMS 2.4.7 - 'install.php' PHP Code Injection Silverstripe Pixlr Image Editor - 'upload.php' Arbitrary File Upload SilverStripe CMS Pixlr Image Editor - 'upload.php' Arbitrary File Upload Silverstripe CMS 2.4.x - 'BackURL' Open Redirection SilverStripe CMS 2.4.x - 'BackURL' Open Redirection Silverstripe CMS - 'MemberLoginForm.php' Information Disclosure SilverStripe CMS - 'MemberLoginForm.php' Information Disclosure Silverstripe CMS - Multiple HTML Injection Vulnerabilities SilverStripe CMS - Multiple HTML Injection Vulnerabilities Apache CouchDB 1.7.0 and 2.x before 2.1.1 - Remote Privilege Escalation Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation Monstra CMS before 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (2) Monstra CMS < 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (1) Navigate CMS 2.8 - Cross-Site Scripting Collectric CMU 1.0 - 'lang' SQL injection Joomla! Component CW Article Attachments 1.0.6 - 'id' SQL Injection LG SuperSign EZ CMS 2.5 - Remote Code Execution MyBB Visual Editor 1.8.18 - Cross-Site Scripting Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection Joomla! Component Micro Deal Factory 2.4.0 - 'id' SQL Injection RICOH Aficio MP 301 Printer - Cross-Site Scripting Joomla! Component Auction Factory 4.5.5 - 'filter_order' SQL Injection RICOH MP C6003 Printer - Cross-Site Scripting Linux/ARM - Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (28 Bytes) Linux/ARM - sigaction() Based Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (52 Bytes)
91 lines
No EOL
3.4 KiB
Text
91 lines
No EOL
3.4 KiB
Text
Source: http://bugzilla.maptools.org/show_bug.cgi?id=2693
|
|
|
|
On 4.0.7:
|
|
|
|
# tiffsplit $FILE
|
|
|
|
==2007== Invalid read of size 4
|
|
==2007== at 0x40CD1A: _TIFFVGetField (tif_dir.c:1072)
|
|
==2007== by 0x41B2C5: TIFFVGetField (tif_dir.c:1198)
|
|
==2007== by 0x41B2C5: TIFFGetField (tif_dir.c:1182)
|
|
==2007== by 0x404CCF: tiffcp (tiffsplit.c:220)
|
|
==2007== by 0x404CCF: main (tiffsplit.c:89)
|
|
==2007== Address 0x0 is not stack'd, malloc'd or (recently) free'd
|
|
|
|
------- Comment #1 From zhangtan 2017-05-15 01:20:26 -------
|
|
|
|
The place of Out of bound read:
|
|
|
|
ret_val = 0;
|
|
for (i = 0; i < td->td_customValueCount; i++) {
|
|
TIFFTagValue *tv = td->td_customValues + i;
|
|
|
|
if (tv->info->field_tag != tag)
|
|
continue;
|
|
|
|
------- Comment #2 From zhangtan 2017-05-15 01:29:10 -------
|
|
|
|
The place of Out of bound read:
|
|
|
|
The 1072 line of tif_dir.c
|
|
|
|
1068 ret_val = 0;
|
|
1069 for (i = 0; i < td->td_customValueCount; i++) {
|
|
1070 TIFFTagValue *tv = td->td_customValues + i;
|
|
1071
|
|
1072 if (tv->info->field_tag != tag)
|
|
1073 continue;
|
|
|
|
As tv increased in 1070, Out of bound read happened in 1072 when the pointer tv
|
|
was referenced.
|
|
|
|
------- Comment #3 From zhangtan 2017-05-15 01:46:33 -------
|
|
|
|
PoC:
|
|
|
|
Detailed information of the bug can be reproduced using the valgrind tool:
|
|
|
|
# valgrind tiffsplit $File(the testcase in the attachment)
|
|
|
|
Error Message:
|
|
==23520== Invalid read of size 4
|
|
==23520== at 0x40CD1A: _TIFFVGetField (tif_dir.c:1072)
|
|
==23520== by 0x41B2C5: TIFFVGetField (tif_dir.c:1198)
|
|
==23520== by 0x41B2C5: TIFFGetField (tif_dir.c:1182)
|
|
==23520== by 0x404CCF: tiffcp (tiffsplit.c:220)
|
|
==23520== by 0x404CCF: main (tiffsplit.c:89)
|
|
==23520== Address 0x0 is not stack'd, malloc'd or (recently) free'd
|
|
==23520==
|
|
==23520==
|
|
==23520== Process terminating with default action of signal 11 (SIGSEGV)
|
|
==23520== Access not within mapped region at address 0x0
|
|
==23520== at 0x40CD1A: _TIFFVGetField (tif_dir.c:1072)
|
|
==23520== by 0x41B2C5: TIFFVGetField (tif_dir.c:1198)
|
|
==23520== by 0x41B2C5: TIFFGetField (tif_dir.c:1182)
|
|
==23520== by 0x404CCF: tiffcp (tiffsplit.c:220)
|
|
==23520== by 0x404CCF: main (tiffsplit.c:89)
|
|
==23520== If you believe this happened as a result of a stack
|
|
==23520== overflow in your program's main thread (unlikely but
|
|
==23520== possible), you can try to increase the size of the
|
|
==23520== main thread stack using the --main-stacksize= flag.
|
|
==23520== The main thread stack size used in this run was 8388608.
|
|
==23520==
|
|
==23520== HEAP SUMMARY:
|
|
==23520== in use at exit: 17,821 bytes in 42 blocks
|
|
==23520== total heap usage: 96 allocs, 54 frees, 59,223 bytes allocated
|
|
==23520==
|
|
==23520== LEAK SUMMARY:
|
|
==23520== definitely lost: 0 bytes in 0 blocks
|
|
==23520== indirectly lost: 0 bytes in 0 blocks
|
|
==23520== possibly lost: 0 bytes in 0 blocks
|
|
==23520== still reachable: 17,821 bytes in 42 blocks
|
|
==23520== suppressed: 0 bytes in 0 blocks
|
|
==23520== Rerun with --leak-check=full to see details of leaked memory
|
|
==23520==
|
|
==23520== For counts of detected and suppressed errors, rerun with: -v
|
|
==23520== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|
|
Segmentation fault
|
|
|
|
|
|
Proof of Concept:
|
|
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/42301.zip |