Log Injection
BeginnerUser-controlled data is written directly into application logs. Inject newline characters to forge fake log entries, then apply structured logging to prevent it.
Progress:
1
Forge a Log Entry2
Apply Secure Loggingapp.corp.io/login
Login Form
application.log
2024-03-14 10:23:01 [INFO] Server started on port 3000
2024-03-14 10:23:05 [INFO] Database connection established
2024-03-14 10:24:12 [INFO] User "bob" logged in from 192.168.1.10
2024-03-14 10:25:30 [WARN] Failed login attempt for user "charlie"