T09 · Insecure Skill Coding Practices
- Location
SKILL.md:16- Finding
Hardcoded Default Administrator Credentials
- Content
View full analysis
]*value="\K[^"]+'` 3. Use the session cookie for subsequent requests ``` ### Technical Analysis The Skill explicitly instructs the Agent to authenticate with the fixed credentials `admin:admin`. These credentials are included in publicly readable Skill documentation and therefore cannot be treated as secrets. The CSRF token requirement does not mitigate this weakness. An attacker who can reach the iNTERCEPT server can request the login page, extract a valid CSRF token using the documented procedure, and authenticate with the default credentials. The resulting session cookie provides access to authenticated API operations. This authentication method exceeds minimum necessary privilege because the Skill directs all authenticated operations through a shared administrator account rather than using task-specific, least-privileged credentials. The API includes sensitive and disruptive functionality such as modifying settings, enabling wireless monitor mode, controlling remote agents, retrieving signal intelligence, and terminating running processes. ### Attack Path 1. The attacker discovers an accessible iNTERCEPT deployment, including one exposed through a local network, port forwarding, container mapping, or a remote `INTERCEPT_BASE_URL`. 2. The attacker requests the unauthenticated `/login` page. 3. The attacker extracts the CSRF token from the returned HTML. 4. The attacker submits `username=admin`, `password=admin`, and the extracted CSRF token to `POST /login`. 5. If the deployment retains the documented defaults, the server returns an authenticated administrator session cookie. 6. ...[truncated 788 chars]- Remediation
View remediation
