14 Apr
2026
14 Apr
'26
1:18 p.m.
Hi, Let's assume the scenario: 1. User configures a signature command containing %G 2. Group name is substitued to the shell command 3. Group name is wrapped in double quotes (sigfile.c, msg_write_signature()), but it assumes that the group name is sane. Double quotes or other shell characters, like `, $ or \, are not escaped 4. Malicious server sends a group called: group"; rm -rf ~;" 5. A malicious command gets injected into popen() Do you think it's a real vulnerability? string.c contains sh_format(), maybe it would be a good idea to use it?