Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ids.cgi: Fix remote command execution vulnerability
The OINKCODE variable was only validated for proper input when the Save button was clicked. Did the user demand to download new rules instead, the content of that variable was not being validated (again) and was passed to wget on the shell. This was done with privileges of the "nobody" user. Fixes #11401 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
- Loading branch information
Showing
1 changed file
with
72 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters