Servers and applications
GHSA-3xx9-fqmg-gw57
Log injection through the username of failed logins
- Severity
- Low 3.1
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 18.0.0
- Weakness
- CWE-117
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N- Sources
- Project advisories (GitHub)
Description
When password login is available, the login failure path writes the submitted username to the application log without neutralizing line breaks. An unauthenticated request containing LF in the username inserts an additional physical log line with attacker-selected text, including a false successful-login statement, while the application rejects the credentials.
Tested on OpenProject v17.9.6 (standard edition). The same call is present in v16.6.0, v17.0.0 and v17.3.0 by source comparison; earlier releases were not inspected.
app/controllers/concerns/accounts/user_login.rb:61:
params[:username] is interpolated into a single-line message with no escaping and no rejection of \r and \n. The logger writes the string verbatim, so an embedded newline starts a new record. The write happens on the failure path, before the request is rejected, so no valid credentials are needed.
Affected software
| Software | Affected versions |
|---|---|
OpenProjectServers and applications · github:opf/openproject |
|
About OpenProject
web-based project management system
- Total downloads
- 30M+OpenProject
- Docker Hub pulls
- 6,539,922Docker Hub, 29 Nov 2026
- GitHub stars
- 17,836GitHub, 29 Nov 2026
- Forks
- 3,855GitHub, 29 Nov 2026
- Latest release
- v17.8.3GitHub, 29 Nov 2026
- Released
- 19 Nov 2026GitHub
- License
- GNU General Public License, version 3.0Wikidata
- Written in
- RubyWikidata
- First published on GitHub
- 28 Nov 2012GitHub
Website Source code Docker image
Vulnerabilities in OpenProject
- In our list
- 144
- Published in the last 12 months
- 134
- Critical, last 12 months
- 13
- High, last 12 months
- 17
- Known exploited
- 0
- GHSA-xffq-c939-hm39Script URL schemes in allowed link protocols are kept in rendered linksMedium 4.0 3 Dec 2026
- GHSA-whr5-wq86-jc59Project phase definition link is shared between users through the representer cacheLow 3.1 3 Dec 2026
- GHSA-wc93-w836-rgxmProject copy duplicates public queries of other projects referenced by overview widgetsMedium 4.3 3 Dec 2026
- GHSA-vhcm-j4w9-7rr4Moving a recurring meeting to another project leaves its template and occurrences in the old projectMedium 5.5 3 Dec 2026
- GHSA-gmv8-48mh-c22wPublic cost reports of other projects can be opened by IDMedium 4.3 3 Dec 2026
- GHSA-8cmf-hvc8-pc75Auto-login tokens stay valid after an administrator password reset or an email changeMedium 4.8 3 Dec 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-3xx9-fqmg-gw57
- github.com https://github.com/opf/openproject/security/advisories/GHSA-3xx9-fqmg-gw57