
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)
77 lines
No EOL
3.2 KiB
Text
77 lines
No EOL
3.2 KiB
Text
Security Advisory @ Mediaservice.net Srl
|
|
(#05, 23/11/2016) Data Security Division
|
|
|
|
Title: Red Hat JBoss EAP deserialization of untrusted data
|
|
Application: JBoss EAP 5.2.X and prior versions
|
|
Description: The application server deserializes untrusted data via the
|
|
JMX Invoker Servlet. This can lead to a DoS via resource
|
|
exhaustion and potentially remote code execution.
|
|
Author: Federico Dotta <federico.dotta@mediaservice.net>
|
|
Maurizio Agazzini <inode@mediaservice.net>
|
|
Vendor Status: Will not fix
|
|
CVE Candidate: The Common Vulnerabilities and Exposures project has assigned
|
|
the name CVE-2016-7065 to this issue.
|
|
References: http://lab.mediaservice.net/advisory/2016-05-jboss.txt
|
|
http://lab.mediaservice.net/code/jboss_payload.zip
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1382534
|
|
|
|
1. Abstract.
|
|
|
|
JBoss EAP's JMX Invoker Servlet is exposed by default on port 8080/TCP. The
|
|
communication employs serialized Java objects, encapsulated in HTTP
|
|
requests and responses.
|
|
|
|
The server deserializes these objects without checking the object type. This
|
|
behavior can be exploited to cause a denial of service and potentially
|
|
execute arbitrary code.
|
|
|
|
The objects that can cause the DoS are based on known disclosed payloads
|
|
taken from:
|
|
|
|
- https://gist.github.com/coekie/a27cc406fc9f3dc7a70d
|
|
|
|
Currently there is no known chain that allows code execution on JBoss EAP,
|
|
however new chains are discovered every day.
|
|
|
|
2. Example Attack Session.
|
|
|
|
Submit an authenticated POST request to the JMX Invoker Servlet URL (for
|
|
example: http://localhost:8080/invoker/JMXInvokerServlet) with one of the
|
|
following objects in the body of the request:
|
|
|
|
* 01_BigString_limited.ser: it's a string object; the server will
|
|
reply in a normal way (object size similar to the next one).
|
|
* 02_SerialDOS_limited.ser: the application server will require
|
|
about 2 minutes to execute the request with 100% CPU usage.
|
|
* 03_BigString.ser: it's a string object; the server will
|
|
reply in a normal way (object size similar to the next one).
|
|
* 04_SerialDOS.ser: the application server will require an
|
|
unknown amount of time to execute the request with 100% CPU usage.
|
|
|
|
3. Affected Platforms.
|
|
|
|
This vulnerability affects versions 4 and 5 of JBoss EAP.
|
|
|
|
4. Fix.
|
|
|
|
Red Hat will not fix the issue because JBoss EAP 4 is out of maintenance
|
|
support and JBoss EAP 5 is close to the end of its maintenance period.
|
|
|
|
5. Proof Of Concept.
|
|
|
|
See jboss_payload.zip (40842.zip) and Example Attack Session above.
|
|
|
|
http://lab.mediaservice.net/code/jboss_payload.zip
|
|
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/40842.zip
|
|
|
|
6. Timeline
|
|
|
|
06/10/2016 - First communication sent to Red Hat Security Response Team
|
|
07/10/2016 - Red Hat Security Response Team response, Bug 1382534
|
|
23/11/2016 - Security Advisory released
|
|
|
|
Copyright (c) 2016 @ Mediaservice.net Srl. All rights reserved.
|
|
|
|
|
|
Proof of Concept:
|
|
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/40842.zip |