Description
Weborf before 1.8 contains a CRLF injection vulnerability in auth_check_request() in auth.c that allows unauthenticated remote attackers to bypass the external authentication provider. Attackers can embed percent-encoded CRLF sequences in the request URI to forge the client IP, method, username and password fields, gaining WebDAV write access and potentially remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ltworf | weborf | < 1.8 | 1.8 |
References
- https://codeberg.org/ltworf/weborf/commit/de943f29af565ba820340d14dd5c9d5d4815679d patch
- https://codeberg.org/ltworf/weborf/commit/16f846e63468c11299f50f852594d06fcb6fd415 patch
- https://codeberg.org/ltworf/weborf/releases/tag/1.8 release-notes
- https://codeberg.org/ltworf/weborf/src/tag/1.7/auth.c#L135 technical-description
- https://johnjean.io/advisories/weborf-unauthenticated-remote-code-execution/ third-party-advisory
- VulnCheck Advisory: Weborf before 1.8 Authentication Bypass via CRLF Injection in auth_check_request() third-party-advisory