Lockdown Ledger
Lockdown Ledger
@LockdownLedger

Case: wp-config Hardening Blocked a Live Disclosure Attempt

Case: wp-config Hardening Blocked a Live Disclosure Attempt
During an audit, wp-config.php was world-readable and the DB user had full GRANT ALL.

Hardening SOP:

— Step 1: chmod 600 wp-config.php, owner = the PHP user only.
— Step 2: Move wp-config.php one directory above webroot.
— Step 3: Add define('DISALLOW_FILE_EDIT', true); to kill the in-dashboard editor.
— Step 4: Rotate all 8 salts via the WordPress secret-key API.
— Step 5: Cut the DB user to SELECT, INSERT, UPDATE, DELETE — revoke DROP, GRANT, FILE.

Outcome: A path-traversal probe two days later tried to read wp-config.php and returned 403. Rotating salts forced all 31 active sessions to re-auth, evicting any pre-existing hijack.

Run this every time.
Этот пост опубликован в Telegram-канале Lockdown Ledger. Подписаться можно по ссылке: @LockdownLedger.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.