Vulnerability library
Security checkOctober 04, 2024

@saltcorn/plugins-loader unsanitized plugin name leads to a remote code execution (RCE) vulnerability when creating plug

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

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

When creating a new plugin using the git source, the user-controlled value req.body.name is used to build the plugin directory where the location will be cloned. The API used to execute the git clone command with the user-controlled data is child_process.execSync.

Recommendation

Update the @saltcorn/plugins-loader package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.0.0-beta.13
  • Patched version(s): 1.0.0-beta.14

References

Could your website be exposed too?

SmartScanner can check your website for @saltcorn/plugins-loader unsanitized plugin name leads to a remote code execution (RCE) vulnerability when creating plug and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 04, 2024