Cyber Risks · PortSwigger Research

Source code disclosure

Summary: PortSwigger Research describes source code disclosure as server-side code ending up visible to users, often through typographical errors in scripts or misconfiguration such as failing to grant executable permissions to a script or directory. The disclosed code may contain sensitive information like database passwords and secret keys, which can help malicious users formulate attacks against the application.

What's compelling: A single typo or a missed executable permission can expose database passwords and secret keys, handing an attacker the material to plan attacks against the application.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related