PT-2023-14046 · Oro · Oroplatform

Dkhrysev

·

Published

2023-11-27

·

Updated

2023-12-04

·

CVE-2022-41951

CVSS v3.1

8.5

High

VectorAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions OroPlatform versions prior to 5.0.9
Description Path Traversal is possible in OroBundleGaufretteBundleFileManager::getTemporaryFileName. With this method, an attacker can pass the path to a non-existent file, which will allow writing the content to a new file that will be available during script execution. The file will be deleted immediately after the script ends.
Recommendations For versions prior to 5.0.9, apply the provided patch to OroBundleGaufretteBundleFileManager.php or decorate OroBundleGaufretteBundleFileManager::getTemporaryFileName in your customization and clear the $suggestedFileName argument to prevent Path Traversal. Alternatively, update to version 5.0.9 or later, where this vulnerability has been fixed.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2022-41951
GHSA-9V3J-4J64-P937

Affected Products

Oroplatform