CVE-2022-28323

7.5 HIGH

📋 TL;DR

The SecurePoll extension in MediaWiki through version 1.37.2 contains an information disclosure vulnerability where sorting by timestamp can leak sensitive data. This affects MediaWiki installations with the SecurePoll extension enabled, potentially exposing voting or polling information that should remain confidential.

💻 Affected Systems

Products:
  • MediaWiki with SecurePoll extension
Versions: MediaWiki through 1.37.2
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the SecurePoll extension enabled. The vulnerability is in the extension's timestamp sorting functionality.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete exposure of sensitive voting data, timestamps, and potentially voter information from SecurePoll elections, compromising election integrity and user privacy.

🟠

Likely Case

Partial disclosure of voting patterns, timestamps, or metadata from SecurePoll instances that could be used to infer voting behavior or compromise election secrecy.

🟢

If Mitigated

Limited exposure of non-critical metadata with proper access controls and monitoring in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires access to SecurePoll functionality. The vulnerability involves improper information disclosure through sorting operations.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: MediaWiki 1.37.3 or later

Vendor Advisory: https://phabricator.wikimedia.org/T298434

Restart Required: No

Instructions:

1. Update MediaWiki to version 1.37.3 or later. 2. Ensure SecurePoll extension is updated if installed separately. 3. Verify the patch is applied by checking version and testing SecurePoll functionality.

🔧 Temporary Workarounds

Disable SecurePoll Extension

all

Temporarily disable the SecurePoll extension if not actively needed for elections

Edit LocalSettings.php and comment out or remove: wfLoadExtension('SecurePoll');

Restrict SecurePoll Access

all

Limit access to SecurePoll functionality to authorized users only

Configure MediaWiki permissions to restrict SecurePoll access to trusted administrators

🧯 If You Can't Patch

  • Implement strict access controls to limit who can access SecurePoll functionality
  • Monitor SecurePoll access logs for unusual sorting or timestamp-related queries

🔍 How to Verify

Check if Vulnerable:

Check MediaWiki version and SecurePoll extension status. If MediaWiki <= 1.37.2 with SecurePoll enabled, system is vulnerable.

Check Version:

Check MediaWiki version in includes/DefaultSettings.php or via Special:Version page

Verify Fix Applied:

Verify MediaWiki version is 1.37.3 or later and test SecurePoll sorting functionality for information leaks.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SecurePoll access patterns
  • Multiple timestamp sorting requests
  • Access to SecurePoll by unauthorized users

Network Indicators:

  • HTTP requests to SecurePoll endpoints with sorting parameters
  • Unusual traffic to election-related pages

SIEM Query:

source="mediawiki_logs" AND (uri_path="/wiki/Special:SecurePoll" OR uri_path LIKE "%/SecurePoll%") AND (query_string LIKE "%sort=%" OR query_string LIKE "%timestamp%")

🔗 References

📤 Share & Export