6.5medium
PsiTransfer file integrity violation vulnerability
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2p2x-p7wj-j5h2
Description
PsiTransfer is an open source, self-hosted file sharing solution. Prior to version 2.2.0, the absence of restrictions on the endpoint, which is designed for uploading files, allows an attacker who received the id of a file distribution to change the files that are in this distribution. The vulnerability allows an attacker to influence those users who come to the file distribution after them and slip the victim files with a malicious or phishing signature. Version 2.2.0 contains a patch for this issue. CVE-2024-31454 allows users to violate the integrity of a file that is uploaded by another user. In this case, additional files are not loaded into the file bucket. Violation of integrity at the level of individual files. While the vulnerability with the number CVE-2024-31453 allows users to violate the integrity of a file bucket without violating the integrity of files uploaded by other users. Thus, vulnerabilities are reproduced differently, require different security recommendations and affect different objects of the application’s business logic.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| psi-4ward psitransfer | < 2.2.0, before 2.2.0 | CVE List |
| psitransfer (npm) | before 2.2.0 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
PsiTransfer is an open source, self-hosted file sharing solution. Prior to version 2.2.0, the absence of restrictions on the endpoint, which is designed for uploading files, allows an attacker who received the id of a file distribution to change the files that are in this distribution. The vulnerability allows an attacker to influence those users who come to the file distribution after them and slip the victim files with a malicious or phishing signature. Version 2.2.0 contains a patch for this issue. CVE-2024-31454 allows users to violate the integrity of a file that is uploaded by another user. In this case, additional files are not loaded into the file bucket. Violation of integrity at the level of individual files. While the vulnerability with the number CVE-2024-31453 allows users to violate the integrity of a file bucket without violating the integrity of files uploaded by other users. Thus, vulnerabilities are reproduced differently, require different security recommendations and affect different objects of the application’s business logic.
GitHub Advisory Database
Summary
The absence of restrictions on the endpoint, which is designed for uploading files, allows an attacker who received the id of a file distribution to change the files that are in this distribution.
Details
Vulnerable endpoint: PATCH /files/{{id}}
PoC
-
Create a file distribution.
-
Go to the link address for downloading files and download the file (in this case, the attacker receives the file id from the download request).
-
Send a PATCH /files/{{id}} request with arbitrary content in the request body.
Thus, the file with the specified id will be changed. What the attacker specifies in the body of the request will be added to the end of the original content. In the future, users will download the modified file.
Impact
The vulnerability allows an attacker to influence those users who come to the file distribution after him and slip the victim files with a malicious or phishing signature.
NVD (es)
PsiTransfer es una solución para compartir archivos autohospedada y de código abierto. Antes de la versión 2.2.0, la ausencia de restricciones en el endpoint, que está manipulado para cargar archivos, permitía a un atacante que recibía la identificación de una distribución de archivos cambiar los archivos que se encuentran en esta distribución. La vulnerabilidad permite a un atacante influir en los usuarios que llegan después de ellos a la distribución de archivos y deslizar los archivos de la víctima con una firma maliciosa o de phishing. La versión 2.2.0 contiene un parche para este problema. CVE-2024-31454 permite a los usuarios violar la integridad de un archivo subido por otro usuario. En este caso, los archivos adicionales no se cargan en el depósito de archivos. Violación de la integridad a nivel de archivos individuales. Mientras que la vulnerabilidad con el número CVE-2024-31453 permite a los usuarios violar la integridad de un depósito de archivos sin violar la integridad de los archivos cargados por otros usuarios. Por lo tanto, las vulnerabilidades se reproducen de manera diferente, requieren diferentes recomendaciones de seguridad y afectan a diferentes objetos de la lógica empresarial de la aplicación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31454 changed 2024-09-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2p2x-p7wj-j5h2 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-31454 changed 2026-06-17 | Public domain |