GHSA-gqr6-r77p-c2pj
Fortigate syslog message parser can be exploited to modify or delete fields from the original message
Quick fix
GHSA-gqr6-r77p-c2pj — org.graylog2:graylog2-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>6.3.12</version> for org.graylog2:graylog2-serverDetails
### Impact
A security issue has been identified in Graylog affecting the parsing of syslog messages that use a key-value format, such as those generated by Fortigate devices.
The vulnerability allows attackers to overwrite individual message fields, or to produce invalid messages which Graylog will discard. This effectively enables log evasion techniques to obscure malicious activity.
### Patches
The issue has been fixed in the following Graylog versions: `6.3.12`, `7.0.7`, `7.1.2`. Users should upgrade to one of these versions or above to remediate the vulnerability.
Graylog Cloud has already been patched.
### Workarounds
There are no feasible workarounds for this issue. Upgrading to a patched version is recommended.
To find potentially discarded messages due to parsing errors, customers of Graylog Enterprise or Security can check the Indexing and Processing Failures Index[^1].
### Credits
Thanks to Jose Luis González, from Fundación Sarenet, with additional analysis by Borja Marcos from Sarenet.
[^1]: https://go2docs.graylog.org/current/getting_in_log_data/indexer_and_processing_failures.html
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 6.3.12# pom.xml: bump <version>6.3.12</version> for org.graylog2:graylog2-server7.0.0Fixed in: 7.0.7# pom.xml: bump <version>7.0.7</version> for org.graylog2:graylog2-server7.1.0Fixed in: 7.1.2# pom.xml: bump <version>7.1.2</version> for org.graylog2:graylog2-serverReferences
- https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-gqr6-r77p-c2pj[WEB]
- https://github.com/Graylog2/graylog2-server/pull/26050[WEB]
- https://github.com/Graylog2/graylog2-server/pull/26056[WEB]
- https://github.com/Graylog2/graylog2-server/pull/26057[WEB]
- https://github.com/Graylog2/graylog2-server/pull/26059[WEB]
- https://github.com/Graylog2/graylog2-server/commit/793df6e8202ea55c15a762e47a2a8a775961dd3f[WEB]
- https://github.com/Graylog2/graylog2-server/commit/85dc699d6319aea433583dc239077a3a799c8627[WEB]
- https://github.com/Graylog2/graylog2-server/commit/d5051e604c962ef3d4e5e8e434d0ff4907d2140d[WEB]
- https://github.com/Graylog2/graylog2-server/commit/dde76d7432c469887d9a95c208083c5f0f73c70d[WEB]
- https://github.com/Graylog2/graylog2-server[PACKAGE]