2 vulnerabilities of arbitrary code in ████████ - CVE-2017-5929

Disclosed: 2019-10-08 18:40:54 By ruffdraft To deptofdefense
Critical
Vulnerability Details
**Summary:** GitHub repo: https://github.com/████████ QOS.ch Logback before 1.2.0 has a serialization vulnerability affecting the SocketServer and ServerSocketReceiver components. High Severity Arbitrary Code Execution Vulnerable module: ch.qos.logback:logback-core Introduced through: com.github.dblock.waffle:[email protected] Detailed paths Introduced through: ███@█████████#a746bb4ecce1cb252a301c08be0daffa480c9747 › com.github.dblock.waffle:[email protected] › ch.qos.logback:[email protected] Introduced through: ██████@███#a746bb4ecce1cb252a301c08be0daffa480c9747 › com.github.dblock.waffle:[email protected] › ch.qos.logback:[email protected] › ch.qos.logback:[email protected] and High Severity Arbitrary Code Execution Vulnerable module: ch.qos.logback:logback-classic Introduced through: com.github.dblock.waffle:[email protected] Detailed paths Introduced through: ████@█████#a746bb4ecce1cb252a301c08be0daffa480c9747 › com.github.dblock.waffle:[email protected] › ch.qos.logback:[email protected] **Description:** ch.qos.logback:logback-core and ch.qos.logback:logback-classic Affected versions of this package are vulnerable Arbitrary Code Execution. A configuration can be turned on to allow remote logging through interfaces that accept untrusted serialized data. Authenticated attackers on the adjacent network can exploit this vulnerability to run arbitrary code through the deserialization of custom gadget chains. ## Impact Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc. Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution. Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products. An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed. ## Step-by-step Reproduction Instructions 1. Run known POC CVE online ## Product, Version, and Configuration (If applicable) ch.qos.logback:[email protected] ch.qos.logback:[email protected] ## Suggested Mitigation/Remediation Actions update to latest version
Actions
View on HackerOne
Report Stats
  • Report ID: 272979
  • State: Closed
  • Substate: resolved
  • Upvotes: 2
Share this report