CVE-2025-27092 Details
Description
GHOSTS is an open source user simulation framework for cyber experimentation, simulation, training, and exercise. A path traversal vulnerability was discovered in GHOSTS version 8.0.0.0 that allows an attacker to access files outside of the intended directory through the photo retrieval endpoint. The vulnerability exists in the /api/npcs/{id}/photo endpoint, which is designed to serve profile photos for NPCs (Non-Player Characters) but fails to properly validate and sanitize file paths. When an NPC is created with a specially crafted photoLink value containing path traversal sequences (../, ..\, etc.), the application processes these sequences without proper sanitization. This allows an attacker to traverse directory structures and access files outside of the intended photo directory, potentially exposing sensitive system files. The vulnerability is particularly severe because it allows reading arbitrary files from the server's filesystem with the permissions of the web application process, which could include configuration files, credentials, or other sensitive data. This issue has been addressed in version 8.2.7.90 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
A path traversal vulnerability has been identified in GHOSTS version 8.0.0.0, allowing authenticated users to access files outside the intended directory via the photo retrieval endpoint for Non-Player Characters (NPCs). The vulnerability arises because the endpoint does not properly validate and sanitize file paths. When an NPC is created with a photo link containing path traversal sequences, the application processes these without adequate sanitization. This flaw enables directory traversal, potentially exposing sensitive system files. The issue is critical as it allows reading arbitrary files from the server's filesystem with the web application process's permissions, which could include configuration files, credentials, or other sensitive data.
Users are advised to upgrade to GHOSTS version 8.2.7.90 or later, where this vulnerability has been patched. The updated version includes proper path validation and sanitization to remove or block traversal sequences before processing file paths.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887 | [email protected] | Patch |
| https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3j | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cmu ghosts | >= 8.0.0, < 8.2.7.90 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2025 | Initial Analysis | [email protected] |
| Feb 19, 2025 | New CVE Received | [email protected] |