Login Security Solution plugin is vulnerable to shell injection to dict and grep
-
Login Security Solution checks the password against some dictionaries through “grep” and “dict” commands using “exec”. Although it is using “escapeshellarg”, it does not put “–” before the user controlled arguments. In “grep” case, an attacker is able to use “–file=/dev/random” to have it running forever.
Recommendation would be to add “–” before $term in the exec() calls.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Login Security Solution plugin is vulnerable to shell injection to dict and grep’ is closed to new replies.