• 公告ID (KylinSec-SA-2025-2576)

摘要:

mod_security security update

安全等级: Critical

公告ID: KylinSec-SA-2025-2576

发布日期: 2025年6月7日

关联CVE: CVE-2022-39956   CVE-2025-47947  

  • 详细介绍

1. 漏洞描述

   

This software is also called Modsec,it is an open-source web application firewall. It is designed for Apache HTTP Server.ModSecurity is commonly deployed to provide protections against generic classed of vulnerabilities.The install of this package is easy and you can read the README.TXT for more information.

Security Fix(es):

The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields that will not be decoded and inspected by the web application firewall engine and the rule set. The multipart payload will therefore bypass detection. A vulnerable backend that supports these encoding schemes can potentially be exploited. The legacy CRS versions 3.0.x and 3.1.x are affected, as well as the currently supported versions 3.2.1 and 3.3.2. Integrators and users are advised upgrade to 3.2.2 and 3.3.3 respectively. The mitigation against these vulnerabilities depends on the installation of the latest ModSecurity version (v2.9.6 / v3.0.8).(CVE-2022-39956)

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.(CVE-2025-47947)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-39956 KY3.4-5A mod_security_crs Fixed
CVE-2025-47947 KY3.4-5A mod_security Fixed

3. 影响组件

    mod_security

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
mod_security x86_64 2.9.12-1.kb1.ky3_4
mod_security aarch64 2.9.12-1.kb1.ky3_4

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     mod_security   

aarch64:

     mod_security   

上一篇:KylinSec-SA-2025-2492 下一篇:KylinSec-SA-2025-2623