Posted on February 13th, 2009 by Tim Danton
Does your printer really need internet access?
I should say from the outset that all the words of wisdom below don’t belong to me, but to Rob Nichols from Hydro-Logic who was kind enough to write in after reading one of the bizarrer articles to appear on the website: HP warns LaserJet owners to patch their printers. Over to Rob.
Your article highlights an important security issue ignored by many people when setting up network equipment. That is “does this piece of equipment need to access the internet?”.
If the answer is “No”, usually because the piece of kit is only for users directly connected to the network, then the best policy is not to set the default gateway. By leaving the default gateway blank in a network device’s configuration you effectively deny access to it from the internet, as the device will not be able to reply to any request coming in from another network.
An external hacker could aim a denial of service attack or possible stack overflow type attack, but to do either they would have to know that the device was at a specific address and for the latter exactly which make and model of printer it was. Both of which are extremely difficult to determine from the outside, and made virtually impossible if the network is behind a NAT firewall/router. The hack would also have to be done blind as the printer wouldn’t respond to the attack. Though also bear in mind that not setting a default gateway does not block attack from within the network.
So for example, if owners of the LaserJets covered by the article leave the default gateway blank on their printers the ability to hack in from outside the network would be curtailed. Similarly, network attached storage (NAS) devices that are only used locally should not have their default gateway set.
For these kind of devices often the only need for internet access is to allow updates, and this is usually more easily and certainly more securely achieved via local upload rather than letting the device do it itself. For many such devices they do not have the facility to automatically update, so even this is not a reason to set the default gateway.
My personal experience is that the vast majority of home users should not set the default gateway on dumb network devices such as NAS boxes and network printers. The same is true for many small single site businesses.
Even multi-site businesses, or those managed via remote access have a choice as to whether to set the default gateway, and administrators of such networks should ask the question “should I set the default gateway” and only do so if there is a good reason to.
For example, if remote administrators dial into an “admin” workstation or server, they could access the local network devices from there without each device having a default gateway set.
This is a classic example of thinking twice before setting up absolutely everything in a network configuration. It is up there with not enabling every protocol available (enabling TCP/IP, IPX/SPX and NetBEUI on a network device will slow it down!).
The best advice is always to only enable what is needed. So in the check list of “do I need anything more than TCP/IP?” (usually no), “do I need UPNP or SNMP?” (often no), “have I changed the default password?” (should always be yes), every one should add “do I need to set the default gateway?”.
Just because you can set a default gateway, does not mean you should!
Posted in: Hardware, Real World Computing
Follow any responses to this entry through the RSS 2.0 feed.
5 Responses to “ Does your printer really need internet access? ”
Leave a Reply
Authors
- Barry Collins
- Chris Brennan
- Christine Horton
- Darien Graham-Smith
- Dave Stevenson
- Davey Winder
- David Bayon
- David Fearon
- Ewen Rankin
- Ian Devlin
- Jon Honeyball
- Jonathan Bray
- Kevin Partner
- Mike Jennings
- Nicole Kobie
- Sasha Muller
- Steve Cassidy
- Stewart Mitchell
- Stuart Turton
- Tim Danton
- Tom Arah
Categories
- About the bloggers
- Android App of the Week
- cloud computing
- Green
- Hardware
- How To
- iPhone App of the Week
- Just in
- Microsoft Office 2010
- Newsdesk
- Online business
- Random
- Rant
- Real World Computing
- Software
- View from the Labs
- Windows 7
- Windows 8
Archives
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
advertisement


February 13th, 2009 at 1:56 pm
Umm, this is not uniformly applicable advice. The argument about a default gateway setting amounitng to a vulnerability is something of a non-sequitur: it depends on whther the OS on the devices connecting with that device, will happily handle traffic with something that doesn’t share the detail of their own network configuration.
Generally, in networks large and small, this is being tightened up – so the sin of allowing the printer to see the Net is balanced by other problems which are not predictable without detailed knowledge of the behaviour of your PCs, your choice of sprint-spool software, and how much you spent on your firewall.
Probably best explored in more detail in my next Networks column!
February 16th, 2009 at 9:52 am
Surely the sentence “The argument about a default gateway setting amounitng to a vulnerability is something of a non-sequitur” is itself a non sequitur as soon as it has to be followed by the phrase “it depends…”.
February 17th, 2009 at 2:18 pm
Nope! The “depends” looks forwards, not backwards. I left out “whether the printer will actually work with your other machines” before the word “depends”.
So your criticism focuses on the right word for the wrong reasons. At least until I have a better link between my frontal hippowhatsit and my cerebral finger-doodaddle.
February 19th, 2009 at 7:52 pm
this is something i’m guilty of, i’ve never really thought about it before.
makes a lot of sense, i’m off to modify network now…
December 28th, 2009 at 7:42 pm
Good advice. Too many administrators set everything as having full access when it is not only unrequired, but can be extremely dangerous.