Debian dla-3283 : libapache2-mod-security2 - security update

critical Nessus Plugin ID 170697

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3283 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3283-1 [email protected] https://www.debian.org/lts/security/ Tobias Frost January 26, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : modsecurity-apache Version : 2.9.3-1+deb10u2 CVE ID : CVE-2022-48279 CVE-2023-24021 Debian Bug : 1029329

Multiple issues were found in modsecurity-apache, open source, cross platform web application firewall (WAF) engine for Apache which allows remote attackers to bypass the applications firewall and other unspecified impact.

CVE-2022-48279

In ModSecurity before 2.9.6 and 3.x before 3.0.8, HTTP multipart requests were incorrectly parsed and could bypass the Web Application Firewall.
NOTE: this is related to CVE-2022-39956 but can be considered independent changes to the ModSecurity(C language) codebase.

CVE-2023-24021

Incorrect handling of null-bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer iverflows on the Web Application Firewall when executing rules reading the FILES_TMP_CONTENT collection.

For Debian 10 buster, these problems have been fixed in version 2.9.3-1+deb10u2.

We recommend that you upgrade your modsecurity-apache packages.

For the detailed security status of modsecurity-apache please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/modsecurity-apache

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libapache2-mod-security2 packages.

See Also

http://www.nessus.org/u?b86f5745

https://security-tracker.debian.org/tracker/CVE-2022-39956

https://security-tracker.debian.org/tracker/CVE-2022-48279

https://security-tracker.debian.org/tracker/CVE-2023-24021

https://packages.debian.org/source/buster/modsecurity-apache

Plugin Details

Severity: Critical

ID: 170697

File Name: debian_DLA-3283.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/27/2023

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-39956

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libapache2-mod-security2

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/26/2023

Vulnerability Publication Date: 9/20/2022

Reference Information

CVE: CVE-2022-39956, CVE-2022-48279, CVE-2023-24021