{"id":"CVE-2022-25773","published":"2025-02-26T11:48:33Z","modified":"2025-03-12T19:51:58Z","title":"Relative Path Traversal in assets file upload","vendor":"Mautic","product":"mautic/core","tier":"tail","description":{"text":"This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.\n\n  *  Improper Limitation of a Pathname to a Restricted Directory: A vulnerability exists in the asset upload functionality that allows users to upload files to directories outside of the intended temporary directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00594,"percentile":0.49328,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-4w2w-36vm-c8hf","tags":[]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":9.87},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mautic","affectedVersions":[{"vendor":"Mautic","product":"mautic/core","versions":["< 5.2.3"]}],"capec":[{"id":"CAPEC-139","name":"Relative Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-26T14:54:09.781777Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mautic/core","vulnerableRanges":["<5.2.3"],"patched":["5.2.3"],"from":["GHSA-4w2w-36vm-c8hf"],"provenance":"source"}],"summary":{"text":"The Mautic core product has a path traversal flaw (CWE-22) in its asset upload functionality, which permits uploaded files to be written to directories outside the intended temporary directory. An attacker with network access and low-privilege authenticated credentials can exploit this without user interaction to place files in unintended server locations, with a low-impact effect on availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:25Z"},"euvd":{"id":"EUVD-2022-30417","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mautic-cve-2020-35124","children":[{"from":"CVE-2022-25773","to":"CVE-2024-47051","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/bundles/AssetBundle/EventListener/UploadSubscriber.php"],"commits":["https://github.com/mautic/mautic/commit/e6aaad99f399c5df1ce6273609920098e5c2564a","https://github.com/mautic/mautic/commit/75bc488ce98b9c8ec01114984049fc1c42c0cae5"],"basis":"shared function","functions":["onPostUpload"]}]}]}}