SynopsisSource Code Leakage
DescriptionScanner has detected server-side source code within the server's response.
Because all server side code should be executed by the server, it should never be seen by the client, however in some scenarios it is possible that the server has a misconfiguration or the server side code has syntax errors, and therefore is not executed by the server but is instead sent to the client. As the server-side source code often contains sensitive information, such as database connection strings or details into the application workflow, this can be extremely risky.
Cyber-criminals will attempt to discover pages that either accidentally or forcefully allow the server-side source code to be disclosed, to assist in discovering further vulnerabilities or sensitive information.
SolutionIt is important that the server does not deliver server side code to the client, and the server misconfiguration or server code should be changed to prevent this.