MediumGHSA-hpf4-v7v2-95p2

PrestaShop file access through path traversal

Affected versionsbefore 8.1.1 - fixed in 8.1.1

Details

### Impact `displayAjaxEmailHTML` method can be used to read any file on the server, potentially even outside of the project if the server is not correctly configured. This vulnerability can be exacerbated when coupled with [CWE-502](https://cwe.mitre.org/data/definitions/502.html), which pertains to the Deserialization of Untrusted Data. Such a combination could potentially lead to a Remote Code Execution (RCE) vulnerability ### Patches 8.1.1 ### Found by Aleksey Solovev (Positive Technologies) ### Workarounds ### References

Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected

Inside rootscan

Illustrative rootscan dashboard

Illustrative product preview with sample data. Explore an interactive sample finding

Connect your Shopify store

Connect once. Keep watch.

Enter your store address to prepare your connection.

Website preview: this prepares a connection summary. No app is installed and no scan runs.

Check this website

No account needed for the free scan.

The free public scan needs no account and does not log in to the site. If you later buy a pentest, you will create an account, prove you control the target, and tick a permission checkbox before any active test starts.

Run the free scan Already have an account? Sign in

No active test starts until you authorize it in the app.