Skip to content

Possible log injection opportunity in code - #443

Open
openrefactory wants to merge 1 commit into
isard-vdi:mainfrom
openrefactory:Injection-1Hapi_admin_socketio.py2731777371931337937.diff
Open

Possible log injection opportunity in code#443
openrefactory wants to merge 1 commit into
isard-vdi:mainfrom
openrefactory:Injection-1Hapi_admin_socketio.py2731777371931337937.diff

Conversation

@openrefactory

Copy link
Copy Markdown

In file: api_admin_socketio.py, there is a method that stores user-provided data into logs without validating the data. This allows an attacker to corrupt the log file structure (https://cwe.mitre.org/data/definitions/117.html).

User-provided data should be sanitized before it can be added to logs. It is unclear how the log data is used, or which part of the user input need to be logged. Therefore, no fix was suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant