CVE-2018-18548 Ajenti Cross-site Scripting Via Filename
Attackers can execute arbitrary scripts in the Ajenti Docker control panel via malicious filenames in the File Manager.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-18548?
CVE-2018-18548 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
ajenticp (aka Ajenti Docker control panel) for Ajenti through v1.2.23.13 has XSS via a filename that is mishandled in File Manager.
Weakness: CWE-79
Which versions are affected by CVE-2018-18548?
3 open source packages ship an affected version, including ajenti. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ajenti PyPI | All versions | None |
ajenti PyPI | All versions to 1.2.23.13 | None |
ajenti PyPI | All versions to 1.2.23.13 | None |
Products include Ajenti Ajenticp.
How do I fix CVE-2018-18548?
No fix has been published for CVE-2018-18548 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-18548 being exploited?
There is no known exploitation of CVE-2018-18548 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-5pcv-m8w2-62m9, PYSEC-2018-107.