back to article Proof-of-concept code released for zero-click critical IPv6 Windows hole

Windows users who haven't yet installed the latest fixes to their operating systems will need to get a move on, as code now exists to exploit a critical Microsoft vulnerability announced by Redmond two weeks ago. The flaw, CVE-2024-38063, has a CVSS score of 9.8 since it would allow an unauthenticated attacker to run code …

  1. Nate Amsden

    what if there is no local IPv6 network?

    I mean if IPv6 is not configured(but still enabled on the windows system), and there are no IPv6 routers on the local network, no other devices running IPv6, it's not as if you can just configure IPv6 on a single system and expect to connect to anything using that protocol? That said, on Linux at least I do go out of my way to disable IPv6(kernel option ipv6.disable=1), just to make things simpler because there is no IPv6 network to connect to(don't anticipate that changing in the next 5+ years) and I just prefer it to be more clean. There is inbound IPv6 support to the e-commerce website I support but that is NAT'd to IPv4 at the CDN transparently.

    I remember back in 2001, the Extreme Networks Summit 48 I had for our office at the time had a protocol support thing. Default was all protocols but then you could restrict it to say just I want to say IP traffic or something like that? I recall setting that option, everything worked fine, except one or two people that used Macs complained due to whatever protocol Mac was using(forgot the name) was being rejected by the switch so I went to the switch and just allowed all. Haven't seen that particular feature in switches since (though I'm sure could be handled manually using ACLs, this was a simple drop down box selection in the web UI).

    1. Dimmer Silver badge

      Re: what if there is no local IPv6 network?

      Well guys, have you tried to turn off ipv6 on a window system?

      Disable it in the ncpa.cpl (yea, back way to network config) and then watch it with another system running Wireshark.

      Baby will do anything to phone home to mom.

      You can only truly kill it with a firewall or router.

      1. Martin Summers

        Re: what if there is no local IPv6 network?

        Stuff just stops working, completely, without IPv6 switched on, on Windows Server. No warning, no reason why, just borks.

        1. Anonymous Coward
          Anonymous Coward

          Re: what if there is no local IPv6 network?

          We're running ~400 Windows Servers (2012/2016/2019/2022) with IPv6 disabled.

          No problems whatsoever.

    2. Anonymice

      Re: what if there is no local IPv6 network?

      Unless you explicitly disable IPv6, Windows automatically generates a link-local address. In which case, even if you have v6 disabled on your gateways, the vulnerability can be exploited by anyone on the same network segment.

      End of the day yesterday, I had much fun tormenting the handful of my colleagues who were still unpatched.

  2. ecofeco Silver badge
    FAIL

    The fun never ends.

    Thanks M$. /s

  3. Pascal Monett Silver badge
    WTF?

    "bcdedit /set debug on"

    Wait, am I supposed to help hackers by doing this ?

    And if I don't, which will prevent from from reproducing the vuln, does that mean that a hacker wouldn't be able to either (meaning I'm actually secure) ?

    I'm confused.

    1. Michael Wojcik Silver badge

      Re: "bcdedit /set debug on"

      That recommendation is for if you want to try the PoC yourself. It's not a defense.

      I thought that was fairly clear in the article, but if not, go to the source.

  4. Hubert Cumberdale Silver badge

    "The only workaround is to disable IPv6 and rely instead on IPv4, - which isn't realistic for many people."

    Erm, using IPv6 is unrealistic for me... very few consumer-level broadband providers in the UK even bother with it, it seems. Because of this, my (non-supplier-provided) router has it completely turned off. So I'm guessing I'm safe...?

    1. Roland6 Silver badge

      Depending on your set up you are probably already using IPv6 on your LAN, for local network not necessary for router to support IPv6.

      On my network, Windows tends to prefer IPv6 when talking to printers over IPv4, naturally I don’t see this as either the printer wizard has done it for me or Mopria (what underpins the Windows 10 universal print system) does it.

      1. Michael Wojcik Silver badge

        As others have noted, Windows wants to create at least a link-local IPv6 interface.

        The question is really "can an attacker inject IPv6 traffic into your unpatched Windows system?". For a lot of home systems, that might be difficult — though if you have a vulnerable router, perhaps not. (Whether anyone would bother is another question.) For a lot of corporate systems exposed to IPv6 on the Internet, it's much more feasible.

        Incidentally, I recommend Hutchins' blog post (which I read before this Register story appeared; his blog is in my RSS feed). As usual, it provides some nice insight into how patch reverse-engineering and exploit development can be done. It's also interesting to see how Microsoft's fix for this issue is "prevent going down the vulnerable code path" rather than actually fixing that path. (The underlying bug is setting the packet size to 0 when encountering certain invalid options, followed by an integer underflow when processing a list of packets, and that's not what they fixed.)

        1. Hubert Cumberdale Silver badge

          You're right – I just checked and it has indeed got a link-local address set up. But that's all, because my Beryl is set to not assign v6 addresses or route v6 traffic (even locally). (As noted, I have no outbound IPv6 pipe, and there's really no need for it internally when I have a dozen LAN clients, tops. It just simplifies the setup (plus, I can remember all the IPv4 addresses I need to...).) So, I reckon remotely injecting IPv6 traffic onto anything would be a struggle, even if the local link is enabled. And if they can do it on the local link, well, they're basically already in, as far as I can see, so no point shutting that stable door.

          1. tip pc Silver badge

            IPV6 spec mandates link local addresses & auto IP address assignment.

            https://www.networkacademy.io/ccna/ipv6/stateless-address-autoconfiguration-slaac#:~:text=It%20is%20a%20mechanism%20that,is%20assigned%20to%20which%20node.

    2. BPontius

      I have run Windows 11 with IPv6 disabled with out any issues online. When running IPv6 I disable tunneling and all it's related services, too risky in allowing hackers easy access into your system.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like