cstrien/skills_dior/24007-24008-24009-49152-pentesting-glusterfs
Claude Code and agent skill by cstrien/skills_dior
- community
Checking that the SKILL.md file is still in the repository.
Pentest GlusterFS distributed file systems. Use this skill whenever you encounter ports 24007, 24008, 24009, or 49152+ in a scan, or when the user mentions GlusterFS, distributed storage, glusterd, or gluster-brick. This skill covers enumeration, exploitation of known CVEs (2022-2025), privilege escalation via gluster_shared_storage, and hardening recommendations.
Install
npx vskill@latest install cstrien/skills_dior/24007-24008-24009-49152-pentesting-glusterfsSKILL.md
The same SKILL.md was published earlier as cstrien/skills_dior/24007-24008-24009-49152-pentesting-glusterfs.
GlusterFS Pentesting
A skill for assessing GlusterFS distributed file systems, including enumeration, exploitation of known vulnerabilities, and hardening guidance.
What is GlusterFS?
GlusterFS is a distributed file system that combines storage from multiple servers into one unified namespace. Key ports:
| Port | Service | Purpose | |
|---|---|---|---|
| 24007/TCP | glusterd | Management daemon (RPC) | |
| 24008-24009/TCP | gluster-brick | Legacy brick transport (pre-9.x) | |
| 49152+/TCP | gluster-brick | Data-plane bricks (one per brick, incrementing) |
Tip: Port 24007 answers RPC calls even when storage-only nodes don't export volumes, making it a reliable pivot target in large infrastructures.
Prerequisites
Install client utilities on your attacking box:
Enumeration
1. Peer Discovery & Health
List peers (works without authentication in default setups):
2. Volume Reconnaissance
Retrieve all volumes and their configuration:
3. Mount Without Privileges
If mounting fails, check /var/log/glusterfs/<vol_name>-<uid>.log on the client. Common issues:
- TLS enforcement (
option transport.socket.ssl on) - Address-based access control (
option auth.allow <cidr>)
Certificate Troubleshooting
If TLS is required, steal these files from any authorized client node and place them in /etc/ssl/:
Known Vulnerabilities (2022-2025)
| CVE | Affected Versions | Impact | Notes | |
|---|---|---|---|---|
| CVE-2022-48340 | 10.0–10.4, 11.0 | Use-after-free in dht_setxattr_mds_cbk | Remote DoS and probable RCE. Fixed in 10.4.1 / 11.1 | |
| CVE-2023-26253 | < 11.0 | Out-of-bounds read in FUSE notify handler | Remote crash via crafted FS operations; public PoC available | |
| CVE-2023-3775 | < 10.5 / 11.1 | Incorrect permission validation on gluster_shared_storage | Lets any unauthenticated client mount admin volume – leads to priv-esc |
Always check `gluster --version` on every node; heterogeneous clusters are common after partial upgrades.
Exploitation
Privilege Escalation via gluster_shared_storage
Many administrators leave the special gluster_shared_storage volume world-readable because it simplifies geo-replication. The volume contains cronjob templates that run with root on every node.
If hooks/1/ is not present, look for /ss_bricks/ – the exact path may vary with the major version.
Denial-of-Service (CVE-2023-26253)
Use the bundled script to crash glusterfsd < 11.0:
This sends a malformed NOTIFY_REPLY XDR frame to port 24007.
Hardening & Detection
For Defenders
- Upgrade – Current LTS is 11.1 (July 2025). All CVEs above are fixed.
- Enable TLS for every brick:
``bash gluster volume set <vol> transport.socket.ssl on gluster volume set <vol> transport.socket.ssl-cert /etc/ssl/glusterfs.pem ``
- Restrict clients with CIDR lists:
``bash gluster volume set <vol> auth.allow 10.0.0.0/24 ``
- Expose management port 24007 only on a private VLAN or through SSH tunnels.
- Watch logs:
``bash tail -f /var/log/glusterfs/glusterd.log gluster volume set <vol> features.audit-log on ``
Workflow Summary
- Scan for ports 24007, 24008, 24009, 49152+
- Enumerate with
gluster peer statusandgluster volume info all - Check version to identify vulnerable CVEs
- Attempt mount of volumes (especially
gluster_shared_storage) - Exploit based on version and configuration
- Document findings and hardening recommendations
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnetwork-services-pentesting/24007-24008-24009-49152-pentesting-glusterfs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cstrien/skills_dior/24007-24008-24009-49152-pentesting-glusterfs)