CyberRota Analysis
AI-GeneratedWebhookd versions prior to 1.22.0 are vulnerable due to a lack of proper authentication and header filtering, allowing remote unauthenticated attackers to spoof user identities through the X-WebAuthn-User header. This can lead to unauthorized access or modification of resources by bypassing security controls in hook scripts. Organizations using webhookd without htpasswd authentication should prioritize upgrading to version 1.22.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
webhookd is a minimalist webhook server that triggers shell scripts and external processes through HTTP requests. Prior to 1.22.0, webhookd deployments without htpasswd authentication forwarded all incoming HTTP headers through HTTPParamsToShellVars in pkg/api/index.go into the hook script environment without an allowlist. When an upstream reverse proxy did not strip a client-supplied X-WebAuthn-User header and a hook script trusted that variable for identity or privilege, a remote unauthenticated attacker could spoof another user, bypass script security controls, and access or modify resources available to the impersonated identity. This issue is fixed in version 1.22.0.