talira

ModSecurity

Open source web application firewall engine

open sourceApache-2.0self-hostablefree

ModSecurity is an open source, cross-platform web application firewall (WAF) engine, now run by the OWASP Foundation. It inspects HTTP(S) traffic and applies rules written in its SecRules language, and paired with the OWASP Core Rule Set it blocks common attacks such as SQL injection and cross-site scripting. Version 3 is libmodsecurity, a rewrite with no Apache dependency that plugs into web servers through connectors (such as nginx); version 2 is the module for Apache HTTP Server and is still maintained. It's used by businesses, governments, ISPs and commercial WAF vendors.

Problems it solves

  • add a web application firewall in front of my nginx server
  • block SQL injection and XSS attacks against my web app with open source tools
  • run the OWASP Core Rule Set on my own web server
  • a free WAF module for Apache
  • write custom rules to filter malicious HTTP requests

Features

  • SecRules rules language
  • works with the OWASP Core Rule Set
  • libmodsecurity (v3) with web server connectors
  • Apache module (v2), still maintained
  • HTTP(S) traffic visibility and audit logging

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what ModSecurity does.

  1. OWASP Coraza Open source, high performance web application firewall written in Go
  2. open-appsec Machine learning web application firewall and API security
  3. CrowdSec Open-source IDS/IPS, WAF and bot detection with a crowdsourced blocklist of malicious IPs
  4. SafeLine Self-hosted web application firewall and reverse proxy that protects web apps from attacks
  5. BunkerWeb Open source web application firewall built on NGINX
  6. OWASP CRS Generic attack detection rules for web application firewalls

Compare ModSecurity with the top 3