Description
A vulnerability was detected in PhialsBasement nmap-mcp-server up to bee6d23547d57ae02460022f7c78ac0893092e38. Affected by this issue is the function child_process.exec of the file src/index.ts of the component Nmap CLI Command Handler. The manipulation results in command injection. The attack may be performed from remote. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The patch is identified as 30a6b9e1c7fa6146f51e28d6ab83a2568d9a3488. It is best practice to apply a patch to resolve this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PhialsBasement | nmap-mcp-server | bee6d23547d57ae02460022f7c78ac0893092e38 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | mcp-nmap-server | <= 1.0.1 | — | GHSA-xc68-rrqc-qgq3 |
References
- VDB-348559 | PhialsBasement nmap-mcp-server Nmap CLI index.ts child_process.exec command injection vdb-entry technical-description
- VDB-348559 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #763773 | PhialsBasement nmap-mcp-server <=1.0.1 Command Injection third-party-advisory
- Submit #763777 | PhialsBasement nmap-mcp-server <=1.0.1 Command Injection (Duplicate) third-party-advisory
- https://github.com/PhialsBasement/nmap-mcp-server/issues/7 issue-tracking
- https://github.com/PhialsBasement/nmap-mcp-server/issues/7#issuecomment-3814382570 issue-tracking
- https://github.com/PhialsBasement/nmap-mcp-server/commit/30a6b9e1c7fa6146f51e28d6ab83a2568d9a3488 patch
- https://github.com/PhialsBasement/nmap-mcp-server/ product