CERTsSecurity

F5 Products: CVSS (Max): 5.9

===========================================================================
AUSCERT External Security Bulletin Redistribution

ESB-2024.2891
K000138898 : BIG-IP Advanced WAF/ASM, BIG-IP Next WAF, and NGINX App
Protect WAF attack signature check failure
9 May 2024

===========================================================================

AusCERT Security Bulletin Summary
———————————

Product: BIG-IP (Advanced WAF, ASM)
BIG-IP Next (WAF)
NGINX App Protect WAF
Publisher: F5 Networks
Operating System: F5
Resolution: Patch/Upgrade
CVE Names: CVE-2024-3296

Original Bulletin:
https://my.f5.com/manage/s/article/K000138898

Comment: CVSS (Max): 5.9 CVE-2024-3296 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
CVSS Source: Red Hat
Calculator: https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

– ————————–BEGIN INCLUDED TEXT——————–

K000138898: BIG-IP Advanced WAF/ASM, BIG-IP Next WAF, and NGINX App Protect WAF
attack signature check failure

Published Date: May 8, 2024
AI Recommended Content

Final- This article is marked as ‘Final’ because the security issue described
in this article either affected F5 products at one time and was resolved or it
never affected F5 products. Unless new information is discovered, F5 will no
longer update the article.

Security Advisory Description

BIG-IP Advanced WAF/ASM, BIG-IP Next WAF, or NGINX App Protect WAF may fail to
match an attack signature.

This issue occurs when all of the following conditions are met:

o The affected security policy has a large number of attack signatures
enabled (for example, all or most F5 provided signatures).
o A number of custom attack signatures is created and enabled on the affected
security policy.

Impact

An attacker may be able to bypass the affected attack signature. As a result,
the backend servers protected by the BIG-IP Advanced WAF/ASM, BIG-IP Next WAF,
or NGINX App Protect WAF may be exposed to a vulnerability due to the bypassed
attack signature.

Symptoms

As a result of this issue, you may encounter the following symptom:

o The backend servers protected by the BIG-IP Advanced WAF/ASM, BIG-IP Next
WAF, or NGINX App Protect WAF may be exposed to a vulnerability due to the
bypassed attack signature.

Security Advisory Status

F5 Product Development has assigned ID 1494833 (BIG-IP), WAFMC-10330 (BIG-IP
Next) and WAFMC-10330 (NGINX App Protect WAF) to this issue. This issue has
been classified as CWE-665: Improper Initialization.

To determine if your product and version have been evaluated for this issue,
refer to the Evaluated products box. To determine if your release is affected
by this issue and for information about releases, point releases, or hotfixes
that address the issue, refer to the following tables. You can also use iHealth
to diagnose a security exposure for BIG-IP and BIG-IQ systems. For more
information about using iHealth, refer to K27404821: Using F5 iHealth to
diagnose vulnerabilities. For more information about security advisory
versioning, refer to K51812227: Understanding security advisory versioning.

In this section

o BIG-IP Next
o BIG-IP and BIG-IQ
o F5 Distributed Cloud Services
o F5OS
o NGINX
o Other products

BIG-IP Next

Note: After a fix is introduced for a given minor branch, that fix applies to
all subsequent maintenance and point releases for that branch, and no
additional fixes for that branch will be listed in the table. For example, when
a fix is introduced in 20.0.2, the fix also applies to 20.0.3, and all later
20.1.x releases. For more information, refer to K51812227: Understanding
security advisory versioning.

+————————-+——+—————————+—————-+
|Product |Branch|Versions affected by this |Fixes introduced|
| | |issue^1 |in |
+————————-+——+—————————+—————-+
|BIG-IP Next (WAF) |20.x |20.0.1 – 20.1.0 |20.2.0 |
+————————-+——+—————————+—————-+
|BIG-IP Next (all other |All |None |Not applicable |
|modules) | | | |
+————————-+——+—————————+—————-+
|BIG-IP Next Central |All |None |Not applicable |
|Manager | | | |
+————————-+——+—————————+—————-+
|BIG-IP Next SPK |All |None |Not applicable |
+————————-+——+—————————+—————-+
|BIG-IP Next CNF |All |None |Not applicable |
+————————-+——+—————————+—————-+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle. For more information, refer
to the Security hotfixes section of K4602: Overview of the F5 security
vulnerability response policy.

BIG-IP and BIG-IQ

+————————+——+—————————-+—————-+
|Product |Branch|Versions affected by this |Fixes introduced|
| | |issue^1 |in |
+————————+——+—————————-+—————-+
| |17.x |17.1.0 – 17.1.1 |17.1.1.3 |
|BIG-IP (Advanced WAF, +——+—————————-+—————-+
|ASM) |16.x |16.1.0 – 16.1.4 |16.1.4.3 |
| +——+—————————-+—————-+
| |15.x |15.1.0 – 15.1.10 |15.1.10.4 |
+————————+——+—————————-+—————-+
|BIG-IP (all other |All |None |Not applicable |
|modules) | | | |
+————————+——+—————————-+—————-+
|BIG-IQ Centralized |All |None |Not applicable |
|Management | | | |
+————————+——+—————————-+—————-+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle. For more information, refer
to the Security hotfixes section of K4602: Overview of the F5 security
vulnerability response policy.

F5 Distributed Cloud Services

+———————————–+—————————–+
|Service |Affected component or feature|
+———————————–+—————————–+
|F5 Distributed Cloud (all services)|None |
+———————————–+—————————–+
|F5 Silverline (all services) |None |
+———————————–+—————————–+

F5OS

+——-+——+———————————+——————-+
|Product|Branch|Versions affected by this issue^1|Fixes introduced in|
+——-+——+———————————+——————-+
|F5OS-A |All |None |Not applicable |
+——-+——+———————————+——————-+
|F5OS-C |All |None |Not applicable |
+——-+——+———————————+——————-+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle. For more information, refer
to the Security hotfixes section of K4602: Overview of the F5 security
vulnerability response policy.

NGINX

+———————–+——+—————————–+—————-+
|Product |Branch|Versions affected by this |Fixes introduced|
| | |issue^1 |in |
+———————–+——+—————————–+—————-+
| |4.x |4.0.0 – 4.8.0 |4.8.1 |
|NGINX App Protect WAF +——+—————————–+—————-+
| |3.x |3.10.0 – 3.12.2 |None |
+———————–+——+—————————–+—————-+
|NGINX (all other |All |None |Not applicable |
|products) | | | |
+———————–+——+—————————–+—————-+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle. For more information, refer
to the Security hotfixes section of K4602: Overview of the F5 security
vulnerability response policy.

Other products

+———–+——+———————————+——————-+
|Product |Branch|Versions affected by this issue^1|Fixes introduced in|
+———–+——+———————————+——————-+
|Traffix SDC|All |None |Not applicable |
+———–+——+———————————+——————-+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle. For more information, refer
to the Security hotfixes section of K4602: Overview of the F5 security
vulnerability response policy.

Security Advisory Recommended Actions

If you are running a version listed in the Versions affected by this issue
column, you can eliminate this issue by installing a version listed in the
Fixes introduced in column. If the Fixes introduced in column does not list a
version for your branch, then no update candidate currently exists for that
branch and F5 recommends that you upgrade to a version with the fix (refer to
the tables).

If the Fixes introduced in column lists a version prior to the one you are
running, in the same branch, then your version should have the fix.

Mitigation

F5 recommends that you use appropriate signatures for your environment and that
you not assign all signatures to your policy unless necessary.

You can check the signature states locally using the command line of the BIG-IP
Advanced WAF/ASM system.

BIG-IP Advanced WAF/ASM system Command line

1. Log in to the BIG-IP Advanced WAF/ASM system as the root user.
2. Check the signature states locally by entering the following command:

perl -MF5::NegativeSignatures::Collection::Compiler -MData::Dumper
-MF5::DbUtils -e ‘$dbh = F5::DbUtils::get_dbh(); $sigs = $dbh->
selectall_arrayref(“SELECT sig_id, rule FROM PLC.NEGSIG_SIGNATURES WHERE
apply_to = 1 UNION SELECT threat_campaign_id, match_rule FROM
PLC.THREAT_CAMPAIGNS_MATCH_RULES WHERE apply_to = 1″, { Slice => {} });
$blob =
F5::NegativeSignatures::Collection::Compiler::get_compiled_collection(sigs
=> $sigs); $len = length($blob); $states = unpack(“i1”, $blob); print “
nsize [$len] num of states [$states] n”;’

The command should return output similar to the following example:

size [1761051] num of states [28862]

If the number of states is greater than or equal to 65535, the system is
impacted by this Security Exposure. F5 recommends that you reduce the
number of signatures enabled in the policy or upgrade to a fixed release.
For information about managing attack signatures on the BIG-IP Advanced WAF
/ASM system, refer to the Assigning Attack Signatures to Security Policies
chapter of the BIG-IP Application Security Manager: Attack and Bot
Signatures guide.

Acknowledgments

This issue was discovered internally by F5.

Related Content

o K41942608: Overview of MyF5 security advisory articles
o K12201527: Overview of Quarterly Security Notifications
o K51812227: Understanding security advisory versioning
o K4602: Overview of the F5 security vulnerability response policy
o K4918: Overview of the F5 critical issue hotfix policy
o K39757430: F5 product and services lifecycle policy index
o K9502: BIG-IP hotfix and point release matrix
o K13123: Managing BIG-IP product hotfixes (11.x – 17.x)
o K000090258: Download F5 products from MyF5
o K9970: Subscribing to email notifications regarding F5 products
o K9957: Creating a custom RSS feed to view new and updated documents
o K000135931: Contact F5 Support

AI Recommended Content

o K10866411 : Creating a custom cipher group using the Configuration utility
o K5903 : BIG-IP software support policy
o K000139508 : rust-openssl vulnerability CVE-2024-3296
o K000135931 : Contact F5 Support

Return to Top

– ————————–END INCLUDED TEXT———————-

You have received this e-mail bulletin as a result of your organisation’s
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT’s members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation’s
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author’s website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
===========================================================================Security BulletinsRead More