module

PaperCut PaperCutNG Authentication Bypass

Disclosed
2023-03-13
Created
2023-06-07

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.

Author

catatonicprime

Platform

Java

Architectures

java

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_bypass
msf exploit(papercut_ng_auth_bypass) > show targets
...targets...
msf exploit(papercut_ng_auth_bypass) > set TARGET < target-id >
msf exploit(papercut_ng_auth_bypass) > show options
...show and set options...
msf exploit(papercut_ng_auth_bypass) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.