psitransfer
Affected
- introduced
0, fixed2.2.0(semver)
Fixed versions
2.2.0
Fix
- Fixed version
2.2.0npm install [email protected]
Advisory
Also known as: CVE-2024-31454
PsiTransfer: File integrity violation
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
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.2.0 (semver)2.2.0
2.2.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0