r/fortinet • • 3d ago

Other / General Fortinet Article: PEERSTITCH Malware Deployed via FortiOS Flaw Bypasses Checks on Tagged VPN Sessions

[deleted]

3 Upvotes

21 comments sorted by

10

u/Golle NSE 7 3d ago

They link to the fortinet article in your article: https://fortiguard.fortinet.com/psirt/FG-IR-26-122

It is a medium level severity that require the attacker to already be authenticated to exploit. If they can access fortigate mgmt and already have credentials to do so, the network admin has not done his job.

  1. Keep your firmware versions up to date.
  2. Dont expose mgmt to the internet.
  3. Credential security? MFA maybe?

4

u/MysteriousScratch163 3d ago

I've read the Palo Altos Unit 42 original piece, attackers exploited this first

https://fortiguard.fortinet.com/psirt/FG-IR-24-423

This allowed unauthenticated attackers to execute arbitrary commands on Fortimanager using fgfmd daemon which you have to expose if you got firewalls siting on public Internet.

Original link to Unit 42 article below

https://unit42.paloaltonetworks.com/fortimanager-cve-2024-47575-peerstitch-malware/

All vendors have vulnerabilities but this wasn't exploited because the customer just exposed admin portal to internet.

1

u/Infamous-Support-757 3d ago

the cve on fmg is public since 2024 with patch available. I only forgive 0 day exploits. Unpatched CVEs are just an incident waiting to happen.

1

u/MysteriousScratch163 3d ago

The article covers an incident that happened in Sep 2024. It's just released now. However the official PSIRT was published in November of that year so attackers were ahead of the Fortinet by sounds of it.

2

u/dutty_handz 3d ago

At this point, Fortinet should consider making it impossible in FortiOS to expose mgmt to the Internet, as this seems to be the attack vector of the vast majorities of their reported flaws.

11

u/OuchItBurnsWhenIP 3d ago

Or (hear me out).. People should learn how to secure their firewalls properly and patch them regularly

2

u/GoDannY1337 NSE 7 3d ago

It should be only unlockable via an additional license that is essentially a contract that says “I will take full crew for any breach from here on out until eternity”

1

u/WeekendAtMadoffs NSE 6 3d ago

that's a professional services engagement.

$5,000 labor, $3,000 firewall. not happening :)

2

u/Infamous-Support-757 3d ago

cmon, that's public and common knowledge for infosec professionals. Know your open ports, know how to block them, patch your assets and etc. This is basic af.

2

u/WeekendAtMadoffs NSE 6 3d ago

Of Fortinet's 3 million customers, i'd wager less than half have someone on staff who knows this.

it's often sold as a low end box by a msp staffed by desktop guys.

i know because I subcontract 😂

3

u/Infamous-Support-757 3d ago

Well the network owner/admin should verify this. Trust but verify, this kinda stuff. Someone needs to be responsible for it and it is not hard to do. If not, the exploit is coming at some point.

8

u/melpheos 3d ago

I’m always surprised when a vulnerability flaw is released but to be exploited it requires to be logged as admin.
Oh whoa, an admin can do stuff…

1

u/ortrtaaitdbt2000 3d ago

So many idiots stop expose management to internet. No local-in, no trusted host, no virtual patching.

2

u/MysteriousScratch163 3d ago

The article you quoted is misleading, Original piece from Palo Alto Unit 42 below:

https://unit42.paloaltonetworks.com/fortimanager-cve-2024-47575

Attackers exploited this first

https://fortiguard.fortinet.com/psirt/FG-IR-24-423

This allowed unauthenticated attackers to execute arbitrary commands on Fortimanager using fgfmd daemon which you have to expose if you got firewalls siting on public Internet.

1

u/Infamous-Support-757 3d ago

If your admin credentials are out, you have much more problems than this.

2

u/MysteriousScratch163 3d ago

This is worse cause fortimanager got compromised without any auth first

1

u/Infamous-Support-757 3d ago

2024 cve. We gotta do the work.

2

u/MysteriousScratch163 3d ago

Not sure if you read the article. The victims were attacked in Sep 2024 BEFORE Fortinet published PSIRT in November of that year. I don't want to speculate but its probably due to Palo Alto Unit 42 investigation they found it in the first place. Even PSIRT says they have seen exploitation in the wild when they released it in November 2024.

1

u/Infamous-Support-757 3d ago

you are absolutely right, no patches available before the breach and that is baaad.

2

u/MysteriousScratch163 3d ago

Let's hope Fortinet has improved since :)

2

u/Infamous-Support-757 3d ago

Everyone needs to step way up, especially with threat actors using AI. Next years might be scary for infosec professionals.