lolcreds

Public credential defaults and exposure patterns for authorized security testing.

MediaWiki

MediaWikicms4 credentials

Credentials4 documented
01

User Password Hash

mediawiki / user-password-hash

MediaWiki stores local user password hashes in its database for wiki logins unless external authentication replaces local auth.

user definedsecretusername/password

Location

database

MediaWiki user/authentication tables containing password hash data

public interface
MediaWiki login, API login, and web sessions
artifact

database dumps and wiki backups

02

Bot Password

mediawiki / bot-password

MediaWiki bot passwords let users create limited credentials for bots and API clients without using the main account password.

generated on installuser definedsecretusername/password

Location

database

bot password tables and associated grants/restrictions

config file

bot scripts, Pywikibot config, .netrc, and CI variables

environment
MEDIAWIKI_BOT_USERNAME, MEDIAWIKI_BOT_PASSWORD
secret store

CI/CD variables and bot credential vaults

source code

bot repositories and test configs

logs

bot framework debug logs and API traces

03

API CSRF / OAuth Token

mediawiki / api-csrf-oauth-token

MediaWiki API workflows use CSRF/edit tokens and OAuth consumer secrets/access tokens for authenticated edits and integrations.

generated on installuser definedsecrettoken

Location

http header
Authorization

OAuth or bearer token used by API clients

database

OAuth consumer and access token tables

config file

bot configs, OAuth client configs, and integration scripts

secret store

bot vaults and CI/CD secrets

logs

API debug logs and HTTP traces

04

LocalSettings Secret Key and Database Password

mediawiki / wg-secret-key-and-db-password

MediaWiki LocalSettings.php contains $wgSecretKey and database credentials used for sessions, tokens, upgrades, and runtime database access.

generated on installuser definedsecretsecret value

Looks like

pattern
pattern

MediaWiki LocalSettings.php secret key assignment

\$wgSecretKey\s*=\s*[\'\"][^\'\"]+[\'\"]\s*;
pattern

MediaWiki database password assignment

\$wgDBpassword\s*=\s*[\'\"][^\'\"]+[\'\"]\s*;

Location

config file
LocalSettings.php

wiki secret key, database credentials, and extension secrets

secret store

Kubernetes Secrets, Docker secrets, and deployment vaults

source code

committed LocalSettings.php copies and extension configs

artifact

site backups and support bundles

Scope

Authorized use

LOLCreds helps map the credential surface of real products: known defaults, generated values, credential locations, and exposure patterns.