Case StudiesE-commerce
Critical — CVSS 10.0Web Application PentestingE-commerce

Remote Code Execution via a Forgotten Symfony Development Front Controller

A single leftover debug file on a production e-commerce server provided full remote code execution — demonstrating how deployment hygiene failures can lead to total server compromise.

Methodology

01

Reconnaissance & asset enumeration

Performed directory and file enumeration against the production web root, identifying non-standard paths and leftover development artefacts.

02

Front controller identification

Discovered Symfony's app_dev.php development front controller accessible on the production server — a file that should never be deployed to production environments.

03

RCE proof of concept

Leveraged the debug controller to execute arbitrary PHP code, demonstrating full server compromise with a controlled, non-destructive proof of concept.

04

Impact chain documentation

Traced the full impact chain from initial access through credential extraction to lateral movement potential, providing the client with a clear picture of business risk.

Key finding

The Symfony app_dev.php front controller was deployed to production and publicly accessible, providing an unauthenticated path to arbitrary code execution — a CVSS 10.0 finding.

Key Takeaways

Deployment pipelines must explicitly exclude development files, debug controllers, and test endpoints from production builds.

A single forgotten file can represent a CVSS 10.0 vulnerability — attack surface reduction is as important as patching.

Regular penetration testing catches configuration and deployment issues that code review and automated scanners routinely miss.

Vulnerability class

Remote Code Execution (RCE) / Insecure Deployment

Industry

E-commerce

Outcome

The file was removed and deployment pipelines were updated to exclude development artefacts. A hardening review of the deployment process was conducted as part of the remediation phase.

Related services

Web Application PentestingCloud Security