← Vulnerability feed

Vulnerability record · CVE-2018-8823 · published 28 March 2018

CVE-2018-8823: PrestaShop Responsive Mega Menu Pro module unauthenticated PHP code injection

RResponsive Mega Menu Pro Project · Responsive Mega Menu Pro

The Responsive Mega Menu (Horizontal+Vertical+Dropdown) Pro module 1.0.32 for PrestaShop passes the 'code' parameter from modules/bamegamenu/ajax_phpcode.php into PHP code execution without sanitization. This is a code injection (CWE-94) flaw that lets an unauthenticated remote attacker run arbitrary PHP on the server. Because the module is a front-end component, the endpoint is reachable without credentials.

9.8 CVSS 3.0 Critical EPSS 50% · top 1.1% CWE-94 · Code injection
9.8CVSS 3.0 base score, v2 7.5
50%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

modules/bamegamenu/ajax_phpcode.php in the Responsive Mega Menu (Horizontal+Vertical+Dropdown) Pro module 1.0.32 for PrestaShop 1.5.5.0 through 1.7.2.5 allows remote attackers to execute arbitrary PHP code via the code parameter.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a CVSS of 9.8, public exploit references and very high EPSS probability makes this an urgent patch-or-remove item.

What it is

The Responsive Mega Menu (Horizontal+Vertical+Dropdown) Pro module 1.0.32 for PrestaShop passes the 'code' parameter from modules/bamegamenu/ajax_phpcode.php into PHP code execution without sanitization. This is a code injection (CWE-94) flaw that lets an unauthenticated remote attacker run arbitrary PHP on the server. Because the module is a front-end component, the endpoint is reachable without credentials.

Impact

An attacker can execute arbitrary PHP code in the web server context, leading to full compromise of the PrestaShop site, including data theft, webshell deployment and lateral movement. CVSS 3.0 rates it 9.8 critical with high confidentiality, integrity and availability impact.

Attack surface

Reached over the network via the module's ajax_phpcode.php endpoint with a crafted 'code' parameter. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is 0.50398 (98.857th percentile) and both references are tagged Exploit, indicating public exploit code exists and exploitation is likely.

What to do

  • Update the Responsive Mega Menu Pro module to a version later than 1.0.32, or remove/disable the module if no fixed release is available.
  • Apply a WAF rule blocking requests to modules/bamegamenu/ajax_phpcode.php that contain PHP code in the 'code' parameter.
  • Restrict or block direct access to ajax_phpcode.php at the web server until the module is patched.
  • Audit the PrestaShop installation for webshells and unexpected PHP files after any suspected exposure.
  • Run the PrestaShop site with least-privilege file permissions and disable PHP execution in upload/media directories.

Detection

  • Monitor web logs for POST or GET requests to modules/bamegamenu/ajax_phpcode.php, especially with a 'code' parameter containing PHP tags or function calls.
  • Alert on outbound connections or child processes spawned by the web server user (www-data) that are unusual for PrestaShop.
  • Scan the PrestaShop filesystem for newly created or modified PHP files, particularly in modules, upload and cache directories.
  • Use file integrity monitoring on the PrestaShop codebase to detect injected code.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://ia-informatica.com/it/CVE-2018-8823 ExploitThird Party Advisory
https://ia-informatica.com/it/CVE-2018-8823 ExploitThird Party Advisory

Track CVE-2018-8823 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2008-5791Prestashop vulnerabilityMultiple unspecified vulnerabilities in PrestaShop e-Commerce Solution before 1.1 Beta 2 (aka 1.1.0.1) have unknown impact and attack vectors, relate…EPSS 1.5%9.9CVE-2023-30838Prestashop cross-site scripting vulnerabilityPrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop …EPSS 1.0%9.8CVE-2023-39526Prestashop sql injection vulnerabilityPrestaShop is an open source e-commerce web application. Versions prior to 1.7.8.10, 8.0.5, and 8.1.1 are vulnerable to remote code execution through…EPSS 1.7%9.8CVE-2023-39524Prestashop sql injection vulnerabilityPrestaShop is an open source e-commerce web application. Prior to version 8.1.1, SQL injection possible in the product search field, in BO's product …EPSS 0.66%9.8CVE-2022-31181Prestashop injection vulnerabilityPrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerabilit…EPSS 6.6%9.8CVE-2022-21686Prestashop code injection vulnerabilityPrestaShop is an Open Source e-commerce platform. Starting with version 1.7.0.0 and ending with version 1.7.8.3, an attacker is able to inject twig c…EPSS 1.8%9.8CVE-2021-43789Prestashop sql injection vulnerabilityPrestaShop is an Open Source e-commerce web application. Versions of PrestaShop prior to 1.7.8.2 are vulnerable to blind SQL injection using search f…EPSS 4.6%9.8CVE-2021-3110Prestashop sql injection vulnerabilityThe store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] p…EPSS 19%

Source: NIST National Vulnerability Database (record CVE-2018-8823), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.