Vulnerabilities/

rejetto HFS vulnerable to OS Command Execution by remote authenticated users

Severity:
High

Description

rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in child_process in Node.js).

Recommendation

Update the hfs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
hfs
Anything's wrong? Let us know Last updated on November 18, 2024

This issue is available in SmartScanner Professional

See Pricing