6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7 High
AI Score
Confidence
High
0.006 Low
EPSS
Percentile
78.6%
MediaWiki is prone to multiple vulnerabilities.
# SPDX-FileCopyrightText: 2017 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.108110");
script_version("2024-02-29T14:37:57+0000");
script_cve_id("CVE-2015-8622", "CVE-2015-8623", "CVE-2015-8624", "CVE-2015-8625",
"CVE-2015-8626", "CVE-2015-8627", "CVE-2015-8628");
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:"2024-02-29 14:37:57 +0000 (Thu, 29 Feb 2024)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2017-03-27 14:06:00 +0000 (Mon, 27 Mar 2017)");
script_tag(name:"creation_date", value:"2017-03-29 07:49:40 +0200 (Wed, 29 Mar 2017)");
script_name("MediaWiki Multiple Vulnerabilities (Dec 2015) - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Web application abuses");
script_dependencies("secpod_mediawiki_detect.nasl", "os_detection.nasl");
script_mandatory_keys("mediawiki/installed", "Host/runs_windows");
script_xref(name:"URL", value:"https://lists.wikimedia.org/pipermail/mediawiki-announce/2015-December/000186.html");
script_tag(name:"summary", value:"MediaWiki is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Multiple flaws exist due to:
- the (1) Special:MyPage, (2) Special:MyTalk, (3) Special:MyContributions, (4) Special:MyUploads, and (5) Special:AllMyUploads pages
allow remote attackers to obtain sensitive user login information via crafted links combined with page view statistics.
- not properly normalized IP addresses containing zero-padded octets, which might allow remote attackers to bypass intended access
restrictions by using an IP address that was not supposed to have been allowed.
- the User::randomPassword function generates passwords smaller than $wgMinimalPasswordLength, which makes it easier for remote
attackers to obtain access via a brute-force attack.
- not properly sanitized parameters when calling the cURL library, which allows remote attackers to read arbitrary files via an
@ (at sign) character in unspecified POST array parameters.
- the User::matchEditToken function in includes/User.php does not perform token comparison in constant time before determining if
a debugging message should be logged, which allows remote attackers to guess the edit token and bypass CSRF protection via a timing attack,
a different vulnerability than CVE-2015-8623.
- the User::matchEditToken function in includes/User.php does not perform token comparison in constant time before returning, which
allows remote attackers to guess the edit token and bypass CSRF protection via a timing attack, a different vulnerability than CVE-2015-8624.
- Cross-site scripting (XSS) vulnerability, when is configured with a relative URL, allows remote authenticated users to inject arbitrary web
script or HTML via wikitext, as demonstrated by a wikilink to a page named javascript:alert('XSS!').");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to conduct XSS attacks, gain access to sensitive information and
have other some unspecified impact.");
script_tag(name:"affected", value:"MediaWiki before 1.23.12, 1.24.x before 1.24.5, 1.25.x before 1.25.4, and 1.26.x before 1.26.1");
script_tag(name:"solution", value:"Upgrade to version 1.23.12 or 1.24.5
or 1.25.4 or 1.26.1 or later.");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! port = get_app_port( cpe:CPE ) )
exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) )
exit( 0 );
if( version_is_less( version:vers, test_version:"1.23.12" ) ) {
fix = "1.23.12";
VULN = TRUE;
}
else if( version_in_range( version:vers, test_version:"1.24.0", test_version2:"1.24.4" ) ) {
fix = "1.24.5";
VULN = TRUE;
}
else if( version_in_range( version:vers, test_version:"1.25.0", test_version2:"1.25.3" ) ) {
fix = "1.25.4";
VULN = TRUE;
}
else if( version_is_equal( version:vers, test_version:"1.26.0" ) ) {
fix = "1.26.1";
VULN = TRUE;
}
if( VULN ) {
report = report_fixed_ver( installed_version:vers, fixed_version:fix );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7 High
AI Score
Confidence
High
0.006 Low
EPSS
Percentile
78.6%