Submit #630744: shc <=4.0.3 Command Executioninfo

Titleshc <=4.0.3 Command Execution
DescriptionIn the file src/shc.c, the function make does not check the environment variable, and uses sprintf formats the environment variable to command, then uses system to execute the command. Thus, a command execution happened.
Source⚠️ https://magnificent-dill-351.notion.site/Command-Execution-of-env-in-shc-4-0-3-249c693918ed80c997f4e9420f945d01
User
 s0l42 (UID 82389)
Submission08/08/2025 11:36 (10 months ago)
Moderation08/19/2025 16:00 (11 days later)
StatusAccepted
VulDB entry320557 [neurobin shc up to 4.0.3 Environment Variable src/shc.c make os command injection]
Points14

Might our Artificial Intelligence support you?

Check our Alexa App!