GNU glibc Remote Heap Buffer Overflow Vulnerability (Exim)
🗓️ 29 Jan 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType
openvas🔗 plugins.openvas.org👁 57 Views
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/72325 |
# SPDX-FileCopyrightText: 2015 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
CPE = "cpe:/a:exim:exim";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105188");
script_cve_id("CVE-2015-0235");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_version("2024-01-10T05:05:17+0000");
script_name("GNU glibc Remote Heap Buffer Overflow Vulnerability (Exim)");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72325");
script_tag(name:"summary", value:"The remote Exim is using a version of glibc which is prone to a
heap-based buffer-overflow vulnerability.");
script_tag(name:"vuldetect", value:"Sends a special crafted HELO request and checks the
response.");
script_tag(name:"impact", value:"An attacker can exploit this issue to execute arbitrary code in
the context of the affected application. Failed exploit attempts may crash the application,
denying service to legitimate users.");
script_tag(name:"solution", value:"Update you glibc and reboot.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"last_modification", value:"2024-01-10 05:05:17 +0000 (Wed, 10 Jan 2024)");
script_tag(name:"creation_date", value:"2015-01-29 15:17:02 +0100 (Thu, 29 Jan 2015)");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_family("SMTP problems");
script_copyright("Copyright (C) 2015 Greenbone AG");
script_dependencies("gb_exim_smtp_detect.nasl");
script_require_ports("Services/smtp", 25);
script_mandatory_keys("exim/smtp/detected");
exit(0);
}
include("smtp_func.inc");
include("host_details.inc");
if( ! port = get_app_port( cpe:CPE, service:"smtp" ) )
exit( 0 );
if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
exit( 0 );
soc = open_sock_tcp( port );
if( ! soc ) exit( 0 );
recv( socket:soc, length:512 );
send( socket:soc, data:'HELO FOOBAR\r\n' );
recv = recv( socket:soc, length:512 );
close( soc );
if( "550 HELO argument does not match calling host" >!< recv ) exit( 0 );
soc = open_sock_tcp( port );
if( ! soc ) exit( 0 );
recv = recv( socket:soc, length:512 );
req = 'HELO ' + crap( data:"0", length:1235 ) + '\r\n';
for( i = 1; i < 5; i++ )
{
send( socket:soc, data:req );
recv = recv( socket:soc, length:512 );
if( ! recv )
{
if( ( i == 2 || i == 4 ) && socket_get_error( soc ) == ECONNRESET ) # 2 times for 32bit, 4 times for 64bit
{
close( soc );
security_message( port:port );
exit( 0 );
}
}
}
if( soc ) close( soc );
exit( 99 );
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
10 Jan 2024 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 210
EPSS0.94859