ModSecurity 'SecCacheTransformations' Security Bypass Vulnerability
🗓️ 31 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone AGType
openvas🔗 plugins.openvas.org👁 19 Views
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2008-5676 | 18 Dec 200822:00 | – | cve | |
| CVE-2008-5676 | 18 Dec 200822:00 | – | cvelist | |
| EUVD-2008-5647 | 7 Oct 202500:30 | – | euvd | |
| CVE-2008-5676 | 19 Dec 200801:52 | – | nvd | |
| Mandrake Security Advisory MDVSA-2009:183 (apache-mod_security) | 17 Aug 200900:00 | – | openvas | |
| Mandrake Security Advisory MDVSA-2009:183 (apache-mod_security) | 17 Aug 200900:00 | – | openvas | |
| ModSecurity 'SecCacheTransformations' Security Bypass Vulnerability | 31 Dec 200800:00 | – | openvas | |
| Code injection | 19 Dec 200801:52 | – | prion | |
| CVE-2008-5676 | 19 Dec 200801:52 | – | ubuntucve |
| Source | Link |
|---|---|
| secunia | www.secunia.com/advisories/32146 |
| securityfocus | www.securityfocus.com/bid/31672 |
| blog | www.blog.modsecurity.org/2008/08/transformation.html |
# SPDX-FileCopyrightText: 2008 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900414");
script_version("2025-03-05T05:38:52+0000");
script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
script_tag(name:"creation_date", value:"2008-12-31 15:14:17 +0100 (Wed, 31 Dec 2008)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_cve_id("CVE-2008-5676");
script_name("ModSecurity 'SecCacheTransformations' Security Bypass Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone AG");
script_family("Web Servers");
script_mandatory_keys("login/SSH/success");
script_dependencies("gather-package-list.nasl");
script_exclude_keys("ssh/no_linux_shell");
script_xref(name:"URL", value:"http://secunia.com/advisories/32146");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/31672");
script_xref(name:"URL", value:"http://blog.modsecurity.org/2008/08/transformation.html");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary codes in
the context of the web application and bypass certain security restrictions.");
script_tag(name:"affected", value:"ModSecurity version from 2.5.0 to 2.5.5 on Linux.");
script_tag(name:"insight", value:"This flaw is due an error within the transformation caching which can cause
evasion into ModSecurity. These can be exploited when SecCacheTransformations
is enabled.");
script_tag(name:"solution", value:"Upgrade to version 2.5.6 or later.");
script_tag(name:"summary", value:"ModSecurity is prone to a security bypass vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version_unreliable");
exit(0);
}
include("ssh_func.inc");
include("version_func.inc");
sock = ssh_login_or_reuse_connection();
if(!sock)
exit(0);
garg[0] = "-o";
garg[1] = "-m1";
garg[2] = "-a";
garg[3] = string("ModSecurity v[0-9]\\+.[0-9]\\+.[0-9]\\+");
modName = ssh_find_file(file_name:"/mod_security\.so$", useregex:TRUE, sock:sock);
foreach binaryName (modName) {
binaryName = chomp(binaryName);
if(!binaryName) continue;
arg = garg[0] + " " + garg[1] + " " + garg[2] + " " + raw_string(0x22) + garg[3] + raw_string(0x22) + " " + binaryName;
modsecVer = ssh_get_bin_version(full_prog_name:"grep", version_argv:arg, ver_pattern:"([0-9]+\.[0-9]+\.[0-9]+)", sock:sock);
if(modsecVer[1]){
if(version_in_range(version:modsecVer[1], test_version:"2.5.0", test_version2:"2.5.5")){
report = report_fixed_ver(installed_version:modsecVer[1], fixed_version:"2.5.6", install_path:binaryName);
security_message(port:0, data:report);
ssh_close_connection();
exit(0);
}
}
}
ssh_close_connection();
exit(0);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
05 Mar 2025 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 25
EPSS0.01472