Security context

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

0xJacky/nginx-ui
dev @ f2921b1
70
Fixes
2
CVEs
CRITICAL
Peak severity
39.5%
Coverage
Highlights
Denial of Service: 27 prior fixes. Scrutinize any change in this area.
api/config: most-fixed (3 issues). Treat as high-risk during review.
30 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.

Auth Bypass: Unauthenticated access to backup mechanisms allows remote attackers to fully compromise the system state. Endpoints lacked proper session validations, exposing database credentials, configurations, and sensitive backup files. This matches historical critical vulnerabilities where encryption keys were exposed to unauthenticated parties.
Path Traversal: The application interacts heavily with the host's file system to write and read Nginx configuration files. Multiple endpoints failed to perform path canonicalization and prefix checks against the target Nginx configurations folder, permitting arbitrary file writes and reads across the server filesystem.
Cross-Site WebSocket Hijacking: WebSockets were vulnerable to origin-validation bypasses and a complete lack of origin restrictions. Attackers could execute cross-site hijacking attacks against active administrative sessions by opening arbitrary WebSocket connections to internal endpoints.