Ubuntu update for modsecurity-apache



Published: 2023-09-14
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-42717
CVE-2022-48279
CVE-2023-24021
CWE-ID CWE-674
CWE-20
CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

libapache2-modsecurity (Ubuntu package)
Operating systems & Components / Operating system package or component

libapache2-mod-security2 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Uncontrolled Recursion

EUVDB-ID: #VU59052

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-42717

CWE-ID: CWE-674 - Uncontrolled Recursion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to uncontrolled recursion when processing excessively nested JSON objects. A remote attacker can send a specially crafted HTTP request and consume all available worker processes and CPU resources.

Mitigation

Update the affected package modsecurity-apache to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 22.04

libapache2-modsecurity (Ubuntu package): before Ubuntu Pro

libapache2-mod-security2 (Ubuntu package): before Ubuntu Pro

External links

http://ubuntu.com/security/notices/USN-6370-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU72085

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-48279

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to insufficient validation of user-supplied input when parsing HTTP multipart requests. A remote attacker can send specially crafted input to the application and bypass the Web Application Firewall.

Mitigation

Update the affected package modsecurity-apache to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 22.04

libapache2-modsecurity (Ubuntu package): before Ubuntu Pro

libapache2-mod-security2 (Ubuntu package): before Ubuntu Pro

External links

http://ubuntu.com/security/notices/USN-6370-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Buffer overflow

EUVDB-ID: #VU72086

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-24021

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when executing rules that read the FILES_TMP_CONTENT collection. A remote attacker can upload a specially crafted file on the system, trigger memory corruption and execute arbitrary code on the target system or bypass implemented WAF protection rules.

Mitigation

Update the affected package modsecurity-apache to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 22.04

libapache2-modsecurity (Ubuntu package): before Ubuntu Pro

libapache2-mod-security2 (Ubuntu package): before Ubuntu Pro

External links

http://ubuntu.com/security/notices/USN-6370-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###