Summary
Weborf before version 1.8 contains a CRLF injection vulnerability in auth_check_request() (auth.c). By embedding percent-encoded CRLF sequences in the request URI, an attacker can forge the fields passed to the external authentication provider: client IP, method, username and password.
Per the CVSS vector (score 9.8, critical), the attack is network-based, low complexity, and requires no authentication or user interaction. Successful exploitation bypasses authentication, grants WebDAV write access and potentially remote code execution, with high impact on confidentiality, integrity and availability.
The vulnerability is not listed in CISA KEV; the EPSS score is about 1.5% (75th percentile).
Who is affected
Organizations and users running the Weborf web server in versions prior to 1.8, especially with an external authentication provider and WebDAV access enabled.
What to do
- Upgrade Weborf to version 1.8 or later (release 1.8 on codeberg.org/ltworf/weborf).
- Inventory systems running Weborf and check the installed version.
- Until upgraded, restrict network access to the Weborf server to trusted addresses or temporarily disable it.
- Review access logs and WebDAV directories for unexpected requests containing encoded CRLF sequences (%0d%0a) and unauthorized files.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
- codeberg.org/ltworf/weborf/commit/de943f29af565ba820340d14dd5c9d5d4815679d patch
- codeberg.org/ltworf/weborf/commit/16f846e63468c11299f50f852594d06fcb6fd415 patch
- codeberg.org/ltworf/weborf/releases/tag/1.8
- codeberg.org/ltworf/weborf/src/tag/1.7/auth.c#L135
- johnjean.io/advisories/weborf-unauthenticated-remote-code-execution/
- www.vulncheck.com/advisories/weborf-before-1.8-authentication-bypass-via-crlf-injection-in
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.