Skip to content

GHSA-mhfv-9h99-jwg7 CVE-2018-0503

Mediawiki Improper Privilege Management

Medium Packagist
Severity
4.3 / 10
Medium · CVSS 3.0
Exploit chance (EPSS)
1.56%
Chance of exploitation in the next 30 days. Higher than 75.23% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-269 Improper Privilege Management
Fix
1.27.5
Upgrade mediawiki/core to this version or later

Description

Mediawiki 1.31 before 1.31.1, 1.30.1, 1.29.3 and 1.27.5 contains a flaw where contrary to the documentation, $wgRateLimits entry for 'user' overrides that for 'newbie'.

Affected versions

Packagist

PackageVulnerableFixed in
mediawiki/core
>= 1.27.0, < 1.27.5
1.27.5
mediawiki/core
>= 1.29.0, < 1.29.3
1.29.3
mediawiki/core
>= 1.30.0, < 1.30.1
1.30.1
mediawiki/core
>= 1.31.0, < 1.31.1
1.31.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

mediawiki/core Packagist → 1.27.5

composer
composer require mediawiki/core:^1.27.5

Severity breakdown

CVSS 3.0 4.3

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Weakness

CWE-269: Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

How to prevent it
  • Architecture and Design, Operation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Architecture and Design: Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Architecture and Design: Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-w5fx-cx7f-6vr9
MediaWiki Denial of Service vulnerability
High Also affects mediawiki/core
GHSA-5vj8-g3qg-4qh6
X-Forwarded-For header allows brute-forcing autoblocked IP addresses
Critical Also affects mediawiki/core
GHSA-c8wv-qwwc-6j73
MediaWiki allows a denial of service
Medium Also affects mediawiki/core
GHSA-rqvj-fc2x-99q6
OATHAuth extension in MediaWiki is not implementing rate limit
High Also affects mediawiki/core
GHSA-c4rj-wrmq-52rj
MediaWiki Special:UserRights exposes the existence of hidden users
Medium Also affects mediawiki/core
GHSA-h8qx-mj6v-2934
MediaWiki Cross-site Scripting (XSS) vulnerability
Medium Also affects mediawiki/core
GHSA-4vr7-m8p8-434h
MediaWiki Cross-site Scripting (XSS) vulnerability
Medium Also affects mediawiki/core
GHSA-2f58-vf6g-6p8x
MediaWiki Cross-site Scripting (XSS) vulnerability
Medium Also affects mediawiki/core
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor