Forum Discussion
CVE-2014-6271 (BASH) vulnerability
are the f5 firepass vulnerable to the CVE-2014-6271 (BASH) vulnerability
1 Reply
- Gary_Zhu
Nimbostratus
I am not sure the firepass, but if the target server is running the version of BASH, (not yet fully patched), yes, F5 LTM will pass through, I just tested it.
I have put in below iRule to block these types of requests, however, this is just for User-Agent check, there is no way to check for all headers. And this is very specific to this attack and variants of this attack.
Any suggestion to improve below iRule is welcome, put contains first thinking it might be faster:
when HTTP_REQUEST { if { [string tolower [HTTP::header value User-Agent]] contains "echo" } { if { [string tolower [HTTP::header value User-Agent]] matches_regex ".*echo.*echo.*" } { log local0. "Bad request from [IP::client_addr] with User agent [HTTP::header value User-Agent]" HTTP::respond 403 content "What the f..." noserver } elseif { [string tolower [HTTP::header value User-Agent]] matches_regex ".*;.*;.*;.*" } { log local0. "Bad request from [IP::client_addr] with User agent [HTTP::header value User-Agent]" HTTP::respond 403 content "What the f..." noserver } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com