Someone: "... the new php vulnerability"

Me: "wait what, another one?"

S: "Yes"

I had exposed services for years, never a problem. I don't have time to be on top of all of this. Im going random high port wireguard access only.

you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 3 days ago (3 children)

Random high port will not make you any more secure.

You can use a tool like shodan or censys to quickly get a list of IP:ports with PHP <8.0.

  • source
  • hideshow 3 child comments
  • [–] 17 points 3 days ago (2 children)

    Wireguard is UDP only. A UDP service doesn't have to answer invalid requests and Wireguard doesn't, unless you present the right key. This means it's basically impossible to tell an open port from one where no service is listening.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 days ago (1 child)

    Depends on your firewall though. If you have a "default deny" then the random wireguard port will not send a RST package while the closed ports will. But UDP only sends a few RSTs per second so if you do a UDP-portscan, most systems will only send RSTs for the first few ports and then stop. If you scan very slowly you can find a wireguard port, but you can still not know it is wireguard, just that the port is actually open.

  • source
  • parent
  • hideshow 1 child comment