CVE-2018-18548: Ajenti Cross-site Scripting Via Filename
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.86102%
CWE
Published
5/14/2022
Updated
9/3/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ajenti | pip | <= 1.2.23.13 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized filename
rendering in the File Manager's web interface. The exploit requires filenames
to be displayed without proper encoding, which points directly to the directory listing functionality. In Ajenti's architecture, the FileManagerHandler
class likely handles file/directory
operations, and its directory listing
method would be responsible for passing raw filenames
to the UI template. The absence of HTML
entity encoding in this data flow matches the described XSS
attack vector via crafted filenames
.