{"id":"MSF-multi--http--papercut_ng_external_user_lookup_rce","name":"PaperCut NG/MF Unauthenticated RCE (CVE-2026-81578 + CVE-2026-82078)","description":"This module exploits an authentication bypass in PaperCut NG and MF. A crafted Apache Tapestry complex-direct request invokes privileged ConfigEditor components through the public Home page. On version 26, the module reconfigures external user lookup to use an H2 JDBC URL whose initialization SQL evaluates Groovy code. On versions 24 and 25, it uses a bundled Derby procedure to write a temporary Groovy bootstrap class to the application classpath, then loads it as a database driver. The Java target serves an executable payload JAR and a generic memory-backed JAR loader over HTTP. Its payload classes and resources remain in memory; however, versions 24 and 25 still require the temporary Derby bootstrap class. The command targets execute a Windows or Linux command payload directly. This module was successfully tested against: * PaperCut MF 26.0.4 (Build 76494) <-- emergency patch v1 * PaperCut NG 26.0.4 (Build 76495) <-- emergency patch v1 * PaperCut NG 26.0.3 (Build 76225) * PaperCut NG 25.0.11 (Build 75758) * PaperCut NG 24.1.9 (Build 73376)","cves":["CVE-2026-81578","CVE-2026-82078"],"author":"sfewer-r7","published":"2026-08-27","platform":"Java,Linux,Unix,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/papercut_ng_external_user_lookup_rce.rb","path":"modules/exploits/multi/http/papercut_ng_external_user_lookup_rce.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"papercut_ng_external_user_lookup_rce.rb","vulnerabilities":[{"id":"CVE-2026-81578","state":"PUBLISHED","title":"PaperCut MF/NG: Authentication Bypass","titleSource":"CVE Program","description":"An improper access control vulnerability exists in the web management interface of PaperCut MF and PaperCut NG. Under specific conditions, unauthenticated remote requests targeting administrative functions can trigger backend actions prior to the completion of access validation checks. This allows an unauthenticated remote attacker to modify certain system configurations.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-81578","cvss":{"version":"4.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","source":"PaperCut","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-81578"},"updatedAt":"2026-09-13T23:15:33.997Z","retrievedAt":"2026-11-25T16:13:47.087Z","stale":false,"error":null},{"id":"CVE-2026-82078","state":"PUBLISHED","title":"PaperCut MF/NG: Unsafe Dynamic Class Loading in Database Connector","titleSource":"CVE Program","description":"An unsafe dynamic class loading vulnerability exists in the database connection utilities of PaperCut MF and PaperCut NG. The application instantiates database driver classes based on configurable driver names without validating against an allowlist of approved drivers. If an attacker can manipulate system configuration parameters, this enables the execution of arbitrary Java bytecode residing on the application classpath under the security context of the PaperCut server process.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-82078","cvss":{"version":"4.0","baseScore":9.4,"severity":"critical","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","source":"PaperCut","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-82078"},"updatedAt":"2026-09-13T23:16:32.332Z","retrievedAt":"2026-11-25T16:13:47.083Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--papercut_ng_external_user_lookup_rce.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--papercut_ng_external_user_lookup_rce","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--papercut_ng_external_user_lookup_rce/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--papercut_ng_external_user_lookup_rce/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}