CVE-2022-25773
JSON

4.3medium

Relative Path Traversal in assets file upload

Severity
4.3medium CVSS:3.1 by Mautic
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mautic
Also known as
GHSA-4w2w-36vm-c8hf

Description

This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server. * 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.

Affected

Product or packageVersionsReported by
mautic/core< 5.2.3CVE List
mautic/core (Packagist)before 5.2.3GitHub Advisory Database
acquia mauticbefore 5.2.3NVD

All scores

Mautic4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server. * 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.

GitHub Advisory Database
Summary

This advisory addresses a file placement vulnerability that could allow assets to be uploaded to unintended directories on the server.

  • 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.
Mitigation

Please update to 5.2.3 or later.

Workarounds

None

References

If you have any questions or comments about this advisory:

Email us at security@mautic.org

NVD (es)

Este aviso aborda una vulnerabilidad de ubicación de archivos que podría permitir que se carguen activos en directorios no deseados en el servidor. * Limitación incorrecta de una ruta a un directorio restringido: existe una vulnerabilidad en la funcionalidad de carga de activos que permite a los usuarios cargar archivos en directorios fuera del directorio temporal previsto.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25773 changed 2025-03-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-4w2w-36vm-c8hf changed 2025-10-16CC-BY-4.0
NVDCVE-2022-25773 changed 2026-06-17Public domain