TMA-PFSENSE-4.1.2
Ensure no Allow Rule with Any in Source field present in the Firewall Rules
Deskripsi
The Firewall Rules with Any in the Destination field allows accessing all the IP Addresses of Network from specified Sources configured in the Firewall rules for specific services FAILs if any pass rule in config.xml has source any (disabled rules are also flagged). Audited against the pfSense config.xml (Diagnostics > Backup & Restore > Download configuration, or /cf/conf/config.xml).
Cara pemeriksaan
Metode audit: Pola konfigurasi
- Pola
<rule>(?:[^<]|<[^/<]|</[^r<]|</r[^u<]|</ru[^l<]|</rul[^e<]|</rule[^><])*?<type>pass</type>(?:[^<]|<[^/<]|</[^r<]|</r[^u<]|</ru[^l<]|</rul[^e<]|</rule[^><])*?<source>\s*(?:<any\s*/>|<any>\s*</any>)\s*</source>
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
GUI: Firewall > Rules > <interface>: edit each pass rule with Source any and set a specific host/network alias, or disable/delete it, Apply Changes. # CIS guidance: Delete the rule from the firewall which has Any used in the Source field.
Properti
- Sistem operasi
- Apa saja
- Tag
- pfsensefirewall-policy
- Referensi
- CIS pfSense Firewall Benchmark v1.1.0 - 4.1.2 Ensure no Allow Rule with Any in Source field present in the Firewall Rules
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
tmaegis scan --target pfsense