Description
This module leverages an authentication bypass in PaperCut NG. If necessary it updates Papercut configuration options, specifically the 'print-and-device.script.enabled' and 'print.script.sandboxed' options to allow for arbitrary code execution running in the builtin RhinoJS engine.
This module logs at most 2 events in the application log of papercut. Each event is tied to modifcation of server settings.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/papercut/ng_auth_bypassmsf undefined(ng_auth_bypass) > show actions ...actions...msf undefined(ng_auth_bypass) > set ACTION < action-name >msf undefined(ng_auth_bypass) > show options ...show and set options...msf undefined(ng_auth_bypass) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub