Danno Projects
  • Home
  • About
  • Skills
  • Experiences
  • Education
  • More
    Recent Posts Accomplishments
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
  • Posts
  • DevOps
    • Ansible
    • Docker
      • Setting up Docker and Jenkins on a Raspberry Pi
    • Python
      • Replacing Excel with a SharePoint List for Inventory Management
  • Security
    • Hardening Linux Web Stacks
  • Networking
    • Cisco Firepower SAML/MFA
  • Power Platform
    • SMS Notification
    • Delegation
  • Projects
    • Sena 20S Evo Battery Replacement
  • PowerShell
Hero Image
Hardening Legacy Linux Web Stacks Against PHP RCE

Overview When recent unauthenticated PHP RCE advisories dropped (targeting PHP_SESSION_UPLOAD_PROGRESS and oversized request bodies), I was in the middle of auditing several inherited Linux web servers I took over following a team retirement. While we work through a broader migration to move legacy workloads onto fresh, Terraform-managed infrastructure, I wanted to immediately reduce our PHP attack surface and add defense-in-depth controls across the existing hosts—without causing production downtime. Because I was working across live systems that lacked a 1:1 staging twin, I leaned heavily on Claude Code and AWS Systems Manager (SSM) to orchestrate the discovery, build hash-checked apply/rollback scripts, and run an automated curl verification suite after every change. Here is how we locked the environment down.

  • Security
  • Linux
  • AWS
  • ModSecurity
  • PHP
  • Claude
Tuesday, October 27, 2026 Read
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Recent Posts
  • Accomplishments
Contact me:
  • dannoprojects 'at' gmail.com
  • dannoprojects
  • Dan Rowe

Toha Theme Logo Toha
© 2025 Copyright.
Powered by Hugo Logo