Secure Pages

EasySecure Coding

Overview

Visit /challenge/ to access a machine containing the source code of an application located in the src directory. Your task is to fix the code to retrieve the flag. Make sure to read the rules before you begin.

Flag Format : Flag{}

Lab Details

Prerequisites & Requirements

  • Basic web and PHP knowledge
  • Basic web security concepts, especially file handling vulnerabilities
  • Understanding of file systems

What will you learn?

  • PHP file handling basics
  • Directory traversal & file inclusion risks
  • Securing file access with open_basedir

Tools

  • Browser

Job Positions

Application Security Engineer

Tags

Input ValidationSanitizationCode ReviewOwasp Top 10Input Filtering