Oracle WebLogic PartItem Arbitrary File Upload Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Oracle WebLogic. Authentication is not required to exploit this vulnerability.
The PartItem class in WebLogic FileUpload allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance, when used in conjunction with a specific version of Oracle Java. It also allows the attacker to copy any file into a different location. By copying it to the web application root directory, an attacker could leverage this vulnerability to execute arbitrary code under the context of the process.
Additional Details
Oracle has issued an update to correct this vulnerability. More details can be found at:
http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
Disclosure Timeline
- 2016-01-22 - Vulnerability reported to vendor
- 2016-07-21 - Coordinated public release of advisory
Credit
Alvaro Munoz (pwntester) and Christian Schneider (cschneider4711)