Arbitrary file upload in express-fileupload - CVE-2022-27261

 

Arbitrary file upload in express-fileupload - CVE-2022-27261

Published: June 20, 2023


Vulnerability identifier: #VU77539
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-27261
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to insufficient validation of file during file upload. A remote attacker can upload a malicious file and execute it on the server.


Affected software

express-fileupload
Spectrum Discover

How to mitigate CVE-2022-27261

Install updates from vendor's website.

express-fileupload - update to 1.4.0
Spectrum Discover - addressed in versions 2.0.4.8, 2.1.1

External References

Related Security Bulletins