CVE-2025-27092

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cmu:ghosts:*:*:*:*:*:*:*:*

History

27 Feb 2025, 20:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887 - () https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887 - Patch
References () https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3j - () https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3j - Vendor Advisory, Exploit
CPE cpe:2.3:a:cmu:ghosts:*:*:*:*:*:*:*:*
First Time Cmu
Cmu ghosts

19 Feb 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-19 23:15

Updated : 2025-02-27 20:18


NVD link : CVE-2025-27092

Mitre link : CVE-2025-27092


JSON object : View

Products Affected

cmu

  • ghosts
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')