Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

facade/ignition
main @ 874110d
6
Fixes
3
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
Facade\Ignition\Solutions\MakeViewVariableOptionalSolution: most-fixed (2 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Remote Code Execution: Allowing arbitrary 'solutions' to execute can result in instant RCE. The controller must strictly validate that execution is only allowed on local environments and requests originate from local loopback IP addresses.
Arbitrary File Write: Improperly validated file operations in solutions allow attackers to perform path traversal and arbitrary file write/read, which can be combined with PHP stream wrappers to achieve full system compromise (as seen in CVE-2021-3129).
Path Traversal: Without strict path prefix and suffix validation, attackers can manipulate the 'viewFile' parameters to traverse directories and read or manipulate arbitrary local files.