CVE-2018-19126
published 2018-11-09CVE-2018-19126: PrestaShop 1.6.x before 1.6.1.23 and 1.7.x before 1.7.4.4 allows remote attackers to execute arbitrary code via a file upload.
PriorityP276critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
22.54%
97.4th percentile
PrestaShop 1.6.x before 1.6.1.23 and 1.7.x before 1.7.4.4 allows remote attackers to execute arbitrary code via a file upload.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| prestashop | prestashop | >= 1.6.0.1 < 1.6.1.23 | 1.6.1.23 |
| prestashop | prestashop | >= 1.7.0.0 < 1.7.4.4 | 1.7.4.4 |
Detection & IOCsextracted from sources · hover to see the quote
- →Alert on any POST body containing a 'path' parameter value starting with 'phar://' submitted to filemanager endpoints, which is the phar deserialization trigger. ↗
- →Flag upload of files with a .pdf extension that contain a valid Phar archive magic header/stub, indicating a disguised phar payload uploaded to bypass extension checks. ↗
- →Detect POST to execute.php?action=rename_folder renaming the 'images' directory to 'renamed', which is used to bypass the realpath() check in the exploit chain. ↗
- →The exploit uses Monolog gadget chain (SyslogUdpHandler / BufferHandler) for PHP object deserialization RCE; detect Monolog-based gadget chain artifacts in phar metadata on disk under the PrestaShop img directory. ↗
- →The exploit authenticates to the PrestaShop admin login endpoint via AJAX before accessing filemanager; correlate admin login AJAX calls immediately followed by filemanager access from the same source IP as a suspicious sequence. ↗
- ·The exploit targets PrestaShop 1.6.x before 1.6.1.23 and 1.7.x before 1.7.4.4; detection should be scoped to these version ranges to reduce false positives on patched installations. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No writeups or analysis indexed.
http://build.prestashop.com/news/prestashop-1-7-4-4-1-6-1-23-maintenance-releases/https://github.com/PrestaShop/PrestaShop/pull/11285https://github.com/PrestaShop/PrestaShop/pull/11286https://www.exploit-db.com/exploits/45964/http://build.prestashop.com/news/prestashop-1-7-4-4-1-6-1-23-maintenance-releases/https://github.com/PrestaShop/PrestaShop/pull/11285https://github.com/PrestaShop/PrestaShop/pull/11286https://www.exploit-db.com/exploits/45964/
2018-11-09
Published