MediaWiki < 1.19.8, 1.20.x < 1.20.7, 1.21.x < 1.21.2 Information Disclosure Vulnerabilities (Dec 2013) - Active Check
🗓️ 17 Dec 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType
openvas🔗 plugins.openvas.org👁 29 Views
| Reporter | Title | Published | Views | Family All 42 |
|---|---|---|---|---|
| CVE-2013-4301 | 27 Oct 201300:00 | – | cve | |
| CVE-2013-4302 | 27 Oct 201300:00 | – | cve | |
| CVE-2013-4301 | 27 Oct 201300:00 | – | cvelist | |
| CVE-2013-4302 | 27 Oct 201300:00 | – | cvelist | |
| [SECURITY] [DSA 2753-1] mediawiki security update | 13 Sep 201307:55 | – | debian | |
| CVE-2013-4301 | 27 Oct 201300:00 | – | debiancve | |
| CVE-2013-4302 | 27 Oct 201300:00 | – | debiancve | |
| Debian DSA-2753-1 : mediawiki - information leak | 14 Sep 201300:00 | – | nessus | |
| Fedora 20 : mediawiki-1.21.2-1.fc20 (2013-15937) | 23 Sep 201300:00 | – | nessus | |
| Fedora 19 : mediawiki-1.21.2-1.fc19 (2013-15984) | 21 Sep 201300:00 | – | nessus |
10
| Source | Link |
|---|---|
| xforce | www.xforce.iss.net/xforce/xfdb/86896 |
| seclists | www.seclists.org/oss-sec/2013/q3/553 |
| bugzilla | www.bugzilla.wikimedia.org/show_bug.cgi |
| secunia | www.secunia.com/advisories/54715 |
| securityfocus | www.securityfocus.com/bid/62215 |
| securityfocus | www.securityfocus.com/bid/62434 |
| bugzilla | www.bugzilla.wikimedia.org/show_bug.cgi |
# 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:mediawiki:mediawiki";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.804166");
script_version("2024-07-16T05:05:43+0000");
script_cve_id("CVE-2013-4302", "CVE-2013-4301");
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_tag(name:"last_modification", value:"2024-07-16 05:05:43 +0000 (Tue, 16 Jul 2024)");
script_tag(name:"creation_date", value:"2013-12-17 09:57:37 +0530 (Tue, 17 Dec 2013)");
script_name("MediaWiki < 1.19.8, 1.20.x < 1.20.7, 1.21.x < 1.21.2 Information Disclosure Vulnerabilities (Dec 2013) - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2013 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_mediawiki_http_detect.nasl");
script_mandatory_keys("mediawiki/http/detected");
script_require_ports("Services/www", 80);
script_xref(name:"URL", value:"http://secunia.com/advisories/54715");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/62215");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/62434");
script_xref(name:"URL", value:"http://seclists.org/oss-sec/2013/q3/553");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/86896");
script_xref(name:"URL", value:"https://bugzilla.wikimedia.org/show_bug.cgi?id=49090");
script_xref(name:"URL", value:"https://bugzilla.wikimedia.org/show_bug.cgi?id=46332");
script_tag(name:"summary", value:"MediaWiki is prone to multiple information disclosure
vulnerabilities.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP POST request and checks the response.");
script_tag(name:"insight", value:"The flaws are due to:
- An error within the 'tokens', 'unblock', 'login', 'createaccount', and 'block' API calls that
can be exploited to disclose the CSRF token value.
- The application discloses the full installation path in an error message when an invalid
language is specified in ResourceLoader to 'load.php' script.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to obtain
CSRF tokens, bypass the cross-site request forgery (CSRF) protection mechanism and gain knowledge
on sensitive directories on the remote web server via requests.");
script_tag(name:"affected", value:"MediaWiki versions 1.19.x prior to 1.19.8, 1.20.x prior to
1.20.7 and 1.21.x prior to 1.21.2.");
script_tag(name:"solution", value:"Update to version 1.19.8, 1.20.7, 1.21.2 or later.");
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");
include("http_keepalive.inc");
include("misc_func.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 = "";
vt_strings = get_vt_strings();
callback = vt_strings["default"];
url = dir + "/api.php";
req = http_post_put_req( port:port, url:url,
data:"action=login&lgname=User1&lgpassword=xxx&format=json&callback=" + callback,
add_headers:make_array( "Content-Type", "application/x-www-form-urlencoded" ) );
buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );
if( ! buf )
exit( 0 );
if( token = eregmatch( pattern:callback + '\\(\\{"login":\\{"result"\\s*:\\s*"NeedToken"\\s*,\\s*"token"\\s*:\\s*"([a-f0-9]+)"', string:buf ) ) {
if( isnull( token[1] ) )
exit( 99 );
security_message( port:port, data:'It was possible to get the csrf token `' + token[1] + '` via a jsonp request to: ' + http_report_vuln_url( port:port, url:url, url_only:TRUE ) );
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
16 Jul 2024 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 25
EPSS0.02084