Vulnerability library
Security checkNovember 18, 2024

rejetto HFS vulnerable to OS Command Execution by remote authenticated users

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmhfs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): < 0.52.10
  • Patched version(s): 0.52.10

References

Could your website be exposed too?

SmartScanner can check your website for rejetto HFS vulnerable to OS Command Execution by remote authenticated users and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 18, 2024