Dockerfile
Defines a Docker image based on openjdk:11.0.9.1-jre-buster, installs lsof and procps, downloads and extracts Apache Solr 8.2.0, and sets the working directory to the Solr bin directory.
Dockerfile:1-14Incorrect Authorization in Apache Solr
CVE-2020-13957 has a selected CVSS score of 9.8 (critical); EIP currently links 1 repository PoC and 1 lab environment.
Apache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 prevents some features considered dangerous (which could be used for remote code execution) to be configured in a ConfigSet that's uploaded via API without authentication/authorization. The checks in place to prevent such features can be circumvented by using a combination of UPLOAD/CREATE actions.
| Product | Source | Version range | Status |
|---|---|---|---|
Apache Solr | CVE List | Apache Solr 6.6.0 to 6.6.6, 7.0.0 to 7.7.3, 8.0.0 to 8.6.2 | affected |
org.apache.solr:solr-coreBrowse Maven / org.apache.solr:solr-core | GitHub Advisory | 6.6.0 to < 8.6.3 · Fixed in 8.6.3 | affected |
org.apache.solr:solr-parentBrowse Maven / org.apache.solr:solr-parent | GitHub Advisory | 6.6.0 to < 8.6.3 · Fixed in 8.6.3 | affected |
org.apache.solr:solr-solrjBrowse Maven / org.apache.solr:solr-solrj | GitHub Advisory | 6.6.0 to < 8.6.3 · Fixed in 8.6.3 | affected |
A Docker-based proof-of-concept environment for Apache Solr RCE vulnerability CVE-2020-13957. It builds a Solr 8.2.0 image on OpenJDK 11 JRE and provides instructions to start Solr Cloud and execute a remote code execution exploit via Velocity template injection.
README.md:1Dockerfile:1-14The README explicitly describes a CVE-2020-13957 proof-of-concept, provides exploit steps, and the Dockerfile builds a vulnerable Solr version (8.2.0) to demonstrate the vulnerability.
README.md:1README.md:5Dockerfile:5Defines a Docker image based on openjdk:11.0.9.1-jre-buster, installs lsof and procps, downloads and extracts Apache Solr 8.2.0, and sets the working directory to the Solr bin directory.
Dockerfile:1-14A binary zip file referenced in the README exploit steps as the ConfigSet to upload. Its contents are uninspected, but it is used to trigger the vulnerability.
README.md:37Provides setup and exploit instructions for the CVE-2020-13957 vulnerability, including Docker and Mac environments, and demonstrates remote code execution via curl commands.
README.md:1-119Supported by supplied evidence
The README explicitly targets CVE-2020-13957, describes the vulnerability, and provides a working exploit against Solr 8.2.0, which falls within the affected version range (8.0.0 to 8.6.2).
README.md:1README.md:5README.md:9-11README.md:17README.md:37README.md:27README.md:19README.md:23README.md:27README.md:37README.md:43README.md:49All visible behavior targets the lab's own Solr instance inside the container. The exploit executes 'id' within the container, which is expected for a vulnerability demonstration. No evidence of host escape, external connections, persistence, or credential theft is present.
README.md:49README.md:53This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.