Slashdot Mirror


Vulnerability Exploitable Via Printer Protocols Affects All Windows Versions (softpedia.com)

An anonymous reader writes from a report via Softpedia: "Microsoft patched today a critical security vulnerability in the Print Spooler service that allows attackers to take over devices," reports Softpedia. "The vulnerability affects all Windows versions ever released. [Security firm Vectra discovered the vulnerability (CVE-2016-3238), which Microsoft fixed in MS16-087.] At its core, the issue resides in how Windows handles printer driver installations and how end users connect to printers. By default, in corporate networks, network admins allow printers to deliver the necessary drivers to workstations connected to the network. These drivers are silently installed without any user interaction and run under the SYSTEM user, with all the available privileges." An attacker can hack printers and replace these files with his own. The vulnerability is exploitable from both the local network, but also from the internet, thanks to protocols like Internet Printing Protocol or the webPointNPrint. The exploit can be delivered via ads or JavaScript code inside a compromised website. The vulnerability is actually an OS design issue and affects all Windows versions ever released. Microsoft also announced today plans to make its recently renamed Windows 10 Enterprise product available as a subscription for $7 per user per month, or $84 per year.

17 of 78 comments (clear)

  1. So completely ass backwards by fustakrakich · · Score: 2

    Drivers belong on the printer, not the damn computer. Who dreamed up this shit?

    --
    “He’s not deformed, he’s just drunk!”
    1. Re: So completely ass backwards by Billly+Gates · · Score: 2

      Those like my employer where my present location has 1100 seats. I can't go around installing printer drivers all day or close the company down because we had to move a copier and the installed print driver only works for a specific port.

      Reinstalling the driver 1100 times is not an option!

    2. Re:So completely ass backwards by BaronM · · Score: 5, Informative

      Well, the computer at least needs to have a good idea of the printer capabilities. I suppose we could put that in a plain-text file, and call it 'printcap' or something. Of course, we'll also need to know how to trigger those capabilities. Maybe some sort of in-band signaling with special characters, like escape codes.

      That's all good, but what if we want more advanced features like graphics. We could generate bitmaps, but that would be terribly device-specific and bandwidth-hungry. How about we use an encoding that can encapsulate the way we intend the page to look? We could call it a 'page description language'. Yeah, that'd be cool.

      Well, now that we've got that, we do need some software to take the output from a program and encode it in out page description language. Otherwise, each and every program would need to know each and every common PDL. That's dumb -- we should use a standard intermediate representation that each program can speak to the OS, and let the OS transform that into the PDL of the printer it's talking to!

      OK, now we've got it: a common, logical way for programs to describe their output to the OS, the OS providing a translation service to send that representation to the printer, and page description languages that let us produce sophisticated output without having to generate and transmit bitmaps and escape codes for every little thing.

      That would be much better that this 'printer driver' crap, right ;)

    3. Re: So completely ass backwards by munwin99 · · Score: 2

      Those like my employer where my present location has 1100 seats. I can't go around installing printer drivers all day or close the company down because we had to move a copier and the installed print driver only works for a specific port.

      Reinstalling the driver 1100 times is not an option!

      Who has 1100 seats and DOESN'T have some form of automated deployment tool? That sounds like job #1 to me...

      --
      What's On Your Network ??? http://www.open-audit.org/
    4. Re:So completely ass backwards by NotInHere · · Score: 3, Insightful

      I am also wondering about why you actually need to run printer driver code with system privileges. Isn't that a wrong approach? Yes, I agree printer drivers might not be required at all, but why do network printer drivers need full system privileges?

      Its not that they are trying to speak over some hardware bus or something, all they need to have is an interface to the OS where the documents come in, and a network fd or something. They don't even need access to the file system, do they. Maybe for some settings and a cache and stuff. But really, they can be totally sandboxed. But well its windows...

    5. Re:So completely ass backwards by dbIII · · Score: 2

      It's the spooler.
      It's old and meant to have third party stuff hook into it.

    6. Re: So completely ass backwards by xSauronx · · Score: 2

      a disturbingly high number of people. last job i had i was a SysAdmin for a manufacturer. everyone salaried had been there 20 - 40 years. they all had dual screen computers or laptops...and printed like there was no tomorrow to take reports around for review. i couldnt get them to stop.

      im at a hospital now. less printing in general for some people, but its *required* that patients get some things in print. itll change one day, but not for a while.

      --
      By and large, language is a tool for concealing the truth. -- George Carlin
  2. Samba? by Ungrounded+Lightning · · Score: 3, Interesting

    I'm not a Windows user or admin, but I'm curious:

    Does Samba support the corresponding protocols and emulate this behavior (and is it compatible enough with Microsoft's code to support the exploit)?

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:Samba? by Anonymous Coward · · Score: 2, Informative

      Yes, if you share a printer using Samba you can optionally create the print$ share that windows will use when trying to download the drivers.
      As documented at https://www.suse.com/communiti... (and many other places)

  3. What could possibly go wrong... by mspohr · · Score: 3, Insightful

    Great idea to allow an external device to automatically install software on your computer.
    What are these people thinking?... or not...

    --
    I don't read your sig. Why are you reading mine?
  4. javascript - surprise surprise. by Anonymous Coward · · Score: 2, Insightful

    The exploit can be delivered via ads or JavaScript code inside a compromised website.

    So yet again, time after time after goddamn time, javascript is the attack vector.

    Look, we've seen thousands of stories over the past years of javascript allowing various exploits. It's time for people to realize that allowing random ads and web sites to run any form of explicit code on your computer is a bad idea. With descriptive languages like HTML, at least there is a shot at a proper sandbox and they lack the ability to do arbitrary things like this.

    If you are still running javascript by default in 2016, you pretty much deserve what you get. It's not like javascript based exploits are rare.

    Very, VERY few sites have any legitimate reason to execute code in your browser. On top of that, the web sucks a whole lot less if you turn that shit off and only allow it when there is an actual reason for it. You avoid a bunch of tracking and annoyance-ware such as sites disabling cut and paste.

  5. Easier exploit! by Ungrounded+Lightning · · Score: 4, Interesting

    Yes, if you share a printer using Samba you can optionally create the print$ share that windows will use when trying to download the drivers.

    Interesting.

    So bad guys don't even have to hack a printer to exploit this bug. They can just host a Samba print server (maybe even without a printer attached) with the nasty driver in its database. Anyone who tries to print on that "printer" from a Windows machine gets pwned.

    Ought to fit in a BeagleBone, Raspberry, Shiva Plug, etc., or something even smaller, just fine. Plug it into an Ethernet LAN, or just plug in a USB WiFi dongle and it can advertise on the air like any other WiFi-connectable printer.

    Add a battery, good for a few days, and they have a pocket-sized exploiter that they can carry or drop within radio range of an office, or bury in the packing material of something they mail to the victim.

    If it can detect a local printer and masquerade as it, forwarding the print jobs to it, there might be no obvious sign that anything unusual was happening.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:Easier exploit! by Joe_Dragon · · Score: 2

      get an 2 port one and clone the mac of the printer stick an HP logo on it and it looks like it's part of the printer.

    2. Re:Easier exploit! by radarskiy · · Score: 2

      ...assuming the client machines allowed random user to add random printers with unsigned drivers. Since Windows 7, the default is not to allow this so someone would have deliberately enable it.

    3. Re:Easier exploit! by myowntrueself · · Score: 2

      Yes, if you share a printer using Samba you can optionally create the print$ share that windows will use when trying to download the drivers.

      Interesting.

      So bad guys don't even have to hack a printer to exploit this bug. They can just host a Samba print server (maybe even without a printer attached) with the nasty driver in its database. Anyone who tries to print on that "printer" from a Windows machine gets pwned.

      Ought to fit in a BeagleBone, Raspberry, Shiva Plug, etc., or something even smaller, just fine. Plug it into an Ethernet LAN, or just plug in a USB WiFi dongle and it can advertise on the air like any other WiFi-connectable printer.

      Add a battery, good for a few days, and they have a pocket-sized exploiter that they can carry or drop within radio range of an office, or bury in the packing material of something they mail to the victim.

      If it can detect a local printer and masquerade as it, forwarding the print jobs to it, there might be no obvious sign that anything unusual was happening.

      And call the fake printer something like "Expensive color printer, only use for serious stuff"

      --
      In the free world the media isn't government run; the government is media run.
  6. Re:Explotable from the internet? by Sique · · Score: 3, Interesting

    NAT requires packet inspection. Thus every NATting device is a packet inspection engine, and having some configurable rules which packets to translate and which packets to discard gives you a stateful firewall. That's the main reason why NATting is done on the same device that does firewalling.

    --
    .sig: Sique *sigh*
  7. Re:Too bad Windows Update isn't working by drinkypoo · · Score: 2

    If you install the updates separately, you can track down the KB numbers from just about anywhere on the internet and uncheck/remove them.

    Oh, balls. I can't remove the specific KB numbers for telemetry if I install the rollup? So now I have to uninstall the rollup, and go do the process manually? What a PITA.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"