
إثبات المفهوم لـ CVE-2016-1000027
هذا تطبيق Spring Boolt تجريبي متأثر بـ CVE-2016-1000027.
com.gypsyengineer.server.Server.com.gypsyengineer.client.Exploit.تقرأ الفئة Exploit ملف payload.bin وترسله إلى الخادم الثغري.
يحتوي payload.bin على حمولة مولدة بواسطة ysoserial.
payload.bin الحالي هو CommonsCollections5 الذي يشغّل gedit:
java -jar target/ysoserial-0.0.6-SNAPSHOT-all.jar CommonsCollections5 gedit > payload.bin
لم يتم إصلاح المشكلة في إطار Spring Framework. انظر https://github.com/spring-projects/spring-framework/issues/24434
إليك ما يمكن فعله من جانب التطبيق.
HttpInvokerServiceExporter و RemoteInvocationSerializingExporter.
لقد تم إهمالهما بالفعل ومن المحتمل إزالتهما في الإصدارات القادمة من Spring Framework.