A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The K2 frontend article-save handler accepts an `attachment[N][existing]` POST field that is concatenated with `JPATH_SITE/` and passed to `JFile::copy()`. `JPath::clean` does NOT strip `..`, and there is no allow-list of source paths. An Author can therefore copy `configuration.php` (or any other file readable by the web user — including `../../../etc/passwd`) into `/media/k2/attachments/`, then retrieve the contents via the K2 attachment-download endpoint.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Joomlaworks k2
Weakness type
References
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning