Potential log injection in reset user endpoint in CKAN
Description
Published to the GitHub Advisory Database
Mar 13, 2024
Reviewed
Mar 13, 2024
Published by the National Vulnerability Database
Mar 13, 2024
Last updated
Mar 13, 2024
A user endpoint didn't perform filtering on an incoming parameter, which was added directly to the application log. This could lead to an attacker injecting false log entries or corrupt the log file format.
Patches
This has been fixed in the CKAN 2.9.11 and 2.10.4 versions
Workarounds
Override the
/user/reset
endpoint to filter theid
parameter in order to exclude newlinesReferences