Dockerfile
Builds a Debian Stretch container, installs glusterfs-server 3.8.8-1, creates a world-writable mount point /mnt/gluster_volume, and starts the GlusterFS server. The CMD keeps the container alive with sleep infinity.
Dockerfile:1-16CVE-2018-1112 has a selected CVSS score of 8.0 (high); EIP currently links 1 repository PoC and 1 lab environment.
glusterfs server before versions 3.10.12, 4.0.2 is vulnerable when using 'auth.allow' option which allows any unauthenticated gluster client to connect from any network to mount gluster storage volumes. NOTE: this vulnerability exists because of a CVE-2018-1088 regression.
| Product | Source | Version range | Status |
|---|---|---|---|
glusterfs | CVE List | glusterfs 3.10.12 | affected |
| glusterfs 4.0.2 | affected |
A single Dockerfile builds a Debian Stretch container with GlusterFS server 3.8.8-1 installed, intended as a vulnerable target for CVE-2018-1088 and CVE-2018-1112. The repository also contains standalone and Metasploit exploit scripts.
Dockerfile:1-16README.md:1-29The README explicitly states the project is an exploit for CVE-2018-1088 and CVE-2018-1112, and the Dockerfile installs a specific vulnerable version of glusterfs-server (3.8.8-1). The included scripts (gevaudan.rb, chastel.rb, metasploit module) are designed to detect and exploit these CVEs.
README.md:5-7Dockerfile:4Builds a Debian Stretch container, installs glusterfs-server 3.8.8-1, creates a world-writable mount point /mnt/gluster_volume, and starts the GlusterFS server. The CMD keeps the container alive with sleep infinity.
Dockerfile:1-16A Ruby script that exploits CVE-2018-1088 and CVE-2018-1112 by mounting the gluster_shared_storage volume from a target host, then writing a malicious cron entry to /snaps/glusterfs_snap_cron_tasks to achieve privilege escalation.
gevaudan.rb:1-112A Ruby script that checks the local GlusterFS version, shared storage configuration, and presence of a symlink at /etc/cron.d/glusterfs_snap_cron_tasks to determine if the system is vulnerable to CVE-2018-1088 and CVE-2018-1112.
chastel.rb:1-36A Metasploit module that exploits the same vulnerabilities by mounting the shared storage volume and injecting a user-specified command into the cron file, providing a framework-integrated attack.
metasploit/gluster_shared_storage.rb:1-108Supported by supplied evidence
The README, gevaudan.rb, chastel.rb, and the Metasploit module all reference CVE-2018-1088 as one of the targeted vulnerabilities. The exploit logic (mounting gluster_shared_storage and writing to a cron symlink) aligns with the described privilege escalation flaw.
README.md:5-7gevaudan.rb:3-4chastel.rb:2metasploit/gluster_shared_storage.rb:22-23Supported by supplied evidence
The README, gevaudan.rb, chastel.rb, and the Metasploit module all reference CVE-2018-1112 as one of the targeted vulnerabilities. The exploit logic (mounting gluster_shared_storage and writing to a cron symlink) aligns with the described privilege escalation flaw.
README.md:5-7gevaudan.rb:3-4chastel.rb:2metasploit/gluster_shared_storage.rb:22-23gevaudan.rb:44-49Dockerfile:4chastel.rb:14-22gevaudan.rb:52-57gevaudan.rb:66-74Dockerfile:1-16Dockerfile:14-16gevaudan.rb:1-112metasploit/gluster_shared_storage.rb:1-108gevaudan.rb:93-108metasploit/gluster_shared_storage.rb:88-103All visible behavior is directed at exploiting the documented CVE-2018-1088 and CVE-2018-1112 vulnerabilities within the intended lab target. The Dockerfile sets up a vulnerable GlusterFS server, and the scripts mount a volume and write a cron entry to demonstrate privilege escalation. There is no evidence of hidden, unnecessary, or externally directed compromise, persistence, credential theft, or backdoor behavior.
Dockerfile:1-16gevaudan.rb:1-112metasploit/gluster_shared_storage.rb:1-108This 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.