GHSA-5c6w-f4w2-2grp CVE-2018-0505
Mediawiki BotPassword can bypass CentralAuth's account lock
- Severity
- 6.5 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 1.97%
- Chance of exploitation in the next 30 days. Higher than 80.41% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-287 Improper Authentication
- 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 BotPasswords can bypass CentralAuth's account lock
Affected versions
Packagist
| Package | Vulnerable | Fixed 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 6.5
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Weakness
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How to prevent it
- Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
References
Advisories
Packages
Other links
- access.redhat.com/errata/RHSA-2019:3142
- access.redhat.com/errata/RHSA-2019:3238
- access.redhat.com/errata/RHSA-2019:3813
- github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2018…
- lists.wikimedia.org/pipermail/wikitech-l/2018-September/090849.html
- phabricator.wikimedia.org/T194605
- debian.org/security/2018/dsa-4301
- securitytracker.com/id/1041695
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why 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 |
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