Skip to main content

Wolfcore Cyber Security

Port 9100 (JetDirect): risks and how to secure printers

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 25 November 2026. Part of Ports, protocols and services.

In one sentence: Port 9100 is the network door that office printers listen on to accept print jobs, and it has almost no protection of its own, so it should only ever be reachable from the machines that print.

What runs on this port

IANA, the body that keeps the port registry, lists TCP and UDP 9100 as “hp-pdl-datastr”, the PDL Data Streaming Port, registered in 2002. PDL means page description language, the format a printer understands.

HP’s JetDirect security guide, a vendor white paper written in 2007, explains it plainly. It says there is no print protocol on port 9100 as such. Raw data sent to the port is passed to the printer as if it had arrived over a parallel or serial cable, which HP calls the fastest and most efficient way to deliver data to a printer over TCP/IP. Other makers of printers and print servers also use the port.

Why attackers look for it

Services on open ports can be found by anyone who checks, from a scan inside the network or from internet-wide scanning that search engines for connected devices build on. A printer listening on 9100 tells a visitor what it is. Attackers like printers because they are rarely patched, rarely monitored and often forgotten, yet sit inside the network with stored settings and sometimes stored credentials.

How it gets attacked

  • No authentication on the port. HP says the most common abuse is sending a job containing PJL (printer job language) commands, for example to change the control panel message. The printer treats the data as if a PC were plugged in directly. HP notes the network card does not parse PJL and cannot block it.
  • Open to whole networks. If any machine can connect, any compromised machine can too. HP’s guidance is to control who can open a TCP connection to port 9100.
  • Default settings. HP lists setting an administrator password and changing the default SNMP community name as basics, and notes many units run for years without firmware updates.
  • Interception. Unencrypted print jobs can be captured on the network, which HP says is a general TCP/IP weakness addressed by IPsec or TLS.
  • Firmware flaws. Tenable analysed HP security bulletin CVE-2017-2741 on certain HP PageWide and OfficeJet Pro printers, an arbitrary code execution flaw it rated 9.8. It shows why printer firmware needs updating like any server.
Safe print pathStaff PCssend jobs to theprint serverPrint serverallowed throughto port 9100Printeraccepts raw jobson 9100Everything elseblocked from 9100by VLAN or ACLOnly the print server should be allowed to reach port 9100.

Who it affects and how badly

Every business with a network printer: accountancy and legal practices printing client files, schools, healthcare and care providers, estate agents, councils, and MSPs managing many offices, in the UK, EU, US and Armenia.

Illustrative worst cases:

  • Up to 10 staff: a printer reachable from the internet through a forwarded port. Strangers can send jobs and change its display, and a firmware flaw could give a foothold.
  • 10 to 50 staff: printers on the same network as servers. One infected PC can reach every printer and use them as a place to hide.
  • 250 plus or regulated: hundreds of printers of mixed ages. Unmanaged devices can fail audits and carry sensitive documents in their queues.

What we check on a test

Method, not findings:

  • Which devices answer on port 9100 from the network segments we are given, and whether printers sit on the same segment as servers.
  • Whether any printer is reachable from the internet side, through port forwards or cloud print setups.
  • Printer management settings: administrator password set, SNMP community names, web management over HTTPS, unused services disabled.
  • Firmware age against the vendor’s current release.

How to check whether yours is exposed

Safe checks only, on your own network:

  1. Read your router or firewall port forwarding and inbound rules for 9100. There should be none.
  2. Check your asset list: every printer should have an owner, a fixed address and a firmware version recorded.
  3. Ask your IT team or MSP to confirm, with their approved tools, which machines can reach 9100 on your printers.
  4. Note that Wolfcore’s free web vulnerability scan covers websites, not printer ports, so use a penetration test or an authorised internal scan for this.

How to secure it

  1. Remove any inbound internet access to port 9100.
  2. Put printers on their own VLAN or network segment and allow 9100 only from the print server or approved PCs. HP describes access control lists and firewall rules for exactly this.
  3. Set an administrator password on every printer and change the default SNMP community names. Use SNMPv3 where supported.
  4. Update printer firmware on a schedule, and retire devices the vendor no longer updates.
  5. Turn off print protocols you do not use.
  6. Use encrypted management (HTTPS) and, where supported, IPsec for print traffic.
  7. Add printers to the same inventory and monitoring as servers.

Illustration: a small business

An illustration, not a real case. A 12-person estate agency set up a forward on its router so staff could print from home. It was left on. The printer was reachable from the internet. Someone sent junk jobs that emptied the paper tray and changed the display text. The office lost half a day, and the agency had to assume anyone could have probed the printer further. Removing the forward and using a secure remote option fixed it in minutes.

Frequently asked questions

Is port 9100 a protocol? HP says there is no print protocol on it. It passes raw data to the printer.

Should it be open to the internet? No. HP’s guidance centres on controlling who can connect.

Do I need to patch printers? Yes. Tenable’s analysis of an HP printer code execution flaw shows firmware matters.

Related terms

Port 161/162 (SNMP): what it is, how it is attacked and how to secure it, Port 445 (SMB): what it is, how it is attacked and how to secure it, What is patch management? How to keep software updated safely, printnightmare-cve-2021-34527

How Wolfcore helps

A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan at wolfcore.co.uk/free-web-vulnerability-scan, or see our penetration testing service.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call